cockroachdb / cockroachdb/cockroach
json: add testing for decoding and formatting error paths
Open
A-sql-json
A-testing
C-enhancement
T-sql-queries
- Dominant language
- Go
- Stars
- 32.5k
- Forks
- 4.1k
- PR merge metrics
- PR metrics pending
Description
While writing https://github.com/cockroachdb/cockroach/pull/119564, we noticed that the `pkg/util/json` package was lacking testing of error paths during decoding and formatting of `jsonEncoded` (and maybe more). We should fix that.
Jira issue: CRDB-36240
Contributor guide
Assessment
This issue has not been assessed yet.