tidwall/gjson
View on GitHub ↗ ★ 15,557 Go
Get JSON values quickly - JSON parser for Go
15 mentions on Hacker News by 12 people: 4 stories, 11 comments · first 2016-08-11 · latest 2025-07-21
20082026
-
…purpose built for real-time spatial locations: https://tile38.com/ - go package for reading JSON: https://github.com/tidwall/gjson
comment by drewda · 2025-07-21 · in Show HN: Pogocache – Fast caching software -
…so to speed up determining the object type you can extract the type field e.g. by using gjson ( https://github.com/tidwall/gjson ). It can be easily 10x faster for this kind of scenario
comment by nasretdinov · 2025-03-16 · in Decoding JSON sum types in Go without panicking -
…typing, it seems to "just work" afaict. I also like msgspec for dataclass like behavior [2]. --- 1: https://github.com/tidwall/gjson 2: https://jcristharif.com/msgspec/
comment by emmanueloga_ · 2024-10-09 · in Don't let dicts spoil your code -
▲ 2
Gjson: Get JSON values quickly – JSON parser for Gostory by lsferreira42 · 2024-09-29 · 0 comments
-
…most web servers end up doing sooner or later) is GJSON [2]. -- 1: https://github.com/a-h/templ 2: https://github.com/tidwall/gjson
comment by emmanueloga_ · 2024-09-29 · in Some Go web dev notes -
…5: https://github.com/fxamacker/cbor -- 6: https://github.com/valyala/fasthttp#faq -- 7: https://github.com/tidwall/gjson 8: https://github.com/tidwall/sjson
comment by emmanueloga_ · 2023-12-04 · in Gobs of data (2011) -
…`@sort` modifier via `gjson.AddModifier` and have a custom jj version supporting sorting. [0]: https://github.com/tidwall/gjson/blob/master/SYNTAX.md [1]: https://github.com/tidwall/gjson/blob/master/SYNTAX.md#modif...
comment by TymekDev · 2023-05-29 · in JJ: JSON Stream Editor -
…go module, and I've used it in a few projects where I needed faster parsing than encoding/json: https://github.com/tidwall/gjson
comment by cristoperb · 2023-05-26 · in JJ: JSON Stream Editor -
one way could be you peek method using sth like https://github.com/tidwall/gjson
comment by born-jre · 2023-01-03 · in Ask HN: Why isn't JSON-RPC more widely adopted? -
If you do a lot of JSON parsing for unknown or large structs, you can use gjson: https://github.com/tidwall/gjson
comment by binwiederhier · 2022-07-18 · in Learning Go as a Python Developer: The Good and the Bad -
If only parts of a JSON needs to be accessed I can recommend https://github.com/tidwall/gjson .
comment by PhilippGille · 2020-05-17 · in Representing JSON Structures in Go -
…pain. I've been using these packages with some success: https://github.com/tidwall/sjson https://github.com/tidwall/gjson Not knocking this pkg, just thought I'd share xD
comment by OzzyB · 2019-12-04 · in Segmentio/encoding: optimized drop-in replacement for Go's encoding/JSON package -
▲ 3
GJSON – a fast and simple way to get a value from JSONstory by tidwall · 2016-08-12 · 0 comments
-
▲ 2
Get JSON values very quickly in Gostory by symbolepro · 2016-08-12 · 0 comments
-
▲ 3
Show HN: GJSON – Fast JSON Value Getter in Gostory by tidwall · 2016-08-11 · 0 comments