goccy/go-json
View on GitHub ↗ ★ 3,773 Go
Fast JSON encoder/decoder compatible with encoding/json for Go
8 mentions on Hacker News by 6 people: 2 stories, 6 comments · first 2021-02-08 · latest 2026-11-05
20082026
-
There's various alternatives. For example: - https://github.com/goccy/go-json - https://github.com/bytedance/sonic
comment by PhilippGille · 2025-12-11 · in Golang optimizations for high‑volume services -
…2: https://github.com/golang/go/issues/29766#issuecomment-45492... -- 3: https://github.com/goccy/go-json 4: https://github.com/vmihailenco/msgpack 5: https://github.com/fxamacker/cbor -- 6: https://github.com/valyala/fasthttp#faq
comment by emmanueloga_ · 2023-12-04 · in Gobs of data (2011) -
https://github.com/sugawarayuuta/benchmark - Performance looks pretty comparable to go-json ( https://github.com/goccy/go-json ). Faster in some tests, slower in others. Not sure if it'd be worth switching for me. Good work either way.…
comment by meowface · 2023-09-21 · in Sonnet: High performance JSON decoder in Go -
I find the circles, crosses and triangles on https://github.com/goccy/go-json#json-library-comparison hard to comprehend. I guess that circle means "yes", cross is "no" and triangle is "partial" or something. However that is really just…
comment by kevincox · 2021-02-09 · in Show HN: A fast JSON library for Go -
…I don't know what "△" even means, so I cannot suggest an alternative. Just my 2 cents. [1]: https://github.com/goccy/go-json#json-library-comparison Edit: This 2021 I have the objective to contribute more to OS projects. Is it OKay if I…
comment by krenel · 2021-02-09 · in Show HN: A fast JSON library for Go -
I develop a super fast JSON library ( https://github.com/goccy/go-json ) . It is drop-in replacement of encoding/json. This library is available by simply replacing the import statement. It's more compatible and much faster than…
comment by goccy · 2021-02-08 · in Show HN: A fast JSON library for Go