{"repo":"goccy/go-json","free":true,"listed":false,"github":"https://github.com/goccy/go-json","clone":"git clone https://github.com/goccy/go-json.git","description":"Fast JSON encoder/decoder compatible with encoding/json for Go","language":"Go","stars":3704,"topics":["go","golang","golang-library","json"],"license":"MIT","category":"dev-tools","readme_excerpt":"go-json Fast JSON encoder/decoder compatible with encoding/json for Go Roadmap We are accepting requests for features that will be implemented between v0.9.0 and v.1.0.0. If you have the API you need, please submit your issue here. Features - Drop-in replacement of encoding/json - Fast ( See Benchmark section ) - Flexible customization with options - Coloring the encoded string - Can propagate context.Context to MarshalJSON or UnmarshalJSON - Can dynamically filter the fields of the structure type-safely Installation How to use Replace import statement from encoding/json to github.com/goccy/go-json JSON library comparison name encoder decoder compatible with encoding/json :----: :------: :-----: :-----------------------------: encoding/json yes yes N/A json-iterator/go yes yes partial easyjson yes yes no gojay yes yes no segmentio/encoding/json yes yes partial jettison yes no no simdjson-go no yes no goccy/go-json yes yes yes - json-iterator/go isn't compatible with encoding/json in many ways (e.g. https://github.com/json-iterator/go/issues/229 ), but it hasn't been supported for a long time. - segmentio/encoding/json is well supported for encoders, but some are not supported for decoder APIs such as Token ( streaming decode ) Other libraries - jingo I tried the benchmark but it didn't work. Also, it seems to panic when it receives an unexpected value because there is no error handling... - ffjson Benchmarking gave very slow results. It seems that it is assumed that the user ","default_branch":null,"files":null,"tree":[],"storefront":"/r/goccy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/goccy/go-json/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}