Package jsonx is an extended JSON library for Go. It is highly tolerant of
errors, and it supports trailing commas and comments (//
and /* ... */
).
It is ported from Visual Studio Code's comment-aware JSON parsing and editing APIs in TypeScript, specifically in these files:
- Where the original TypeScript code's API is not idiomatic in Go, this library does not (yet) attempt to provide an idiomatic Go API. This is mainly evident in the error return API for parsing and scanning errors.