Optimized JSON for Go
Check out https://github.com/ohler55/ojg, specifically the “gen” package. Lets you parse into generic JSON types (Object, Number, String, etc) and easily manipulate / query with JSONPath.
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.
The Pros and Cons of DRY Code
1 project | news.ycombinator.com | 27 Jan 2021
Errors vs. exceptions in Go and C++ in 2020
1 project | news.ycombinator.com | 20 Jan 2021
OjG now has a tokenizer that is almost 10 times faster than json.Decode
7 projects | reddit.com/r/golang | 18 Apr 2021
I wrote a JSON parsing library that makes it easy to query and even do arithmetic operations on JSON.
3 projects | reddit.com/r/golang | 3 Jul 2022
FX: An interactive alternative to jq to process JSON
10 projects | news.ycombinator.com | 8 Jan 2022