jsonparser
jettison
Our great sponsors
jsonparser | jettison | |
---|---|---|
15 | 0 | |
5,329 | 168 | |
- | - | |
0.0 | 0.0 | |
18 days ago | 8 months ago | |
Go | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jsonparser
-
Introducing astjson: Transform and Merge JSON Objects with Unmatched Speed in Go
In this article, I will introduce you to a new package called astjson that I have been working on for the last couple of weeks. It is a Go package that allows you to transform and merge JSON objects with unmatched speed. It is based on the jsonparser package by buger aka Leonid Bugaev and extends it with the ability to transform and merge JSON objects at unparalleled performance.
-
What's the best way to unmarshall this nested JSON?
Use this to extract the data value, and handle/unmarshal it accordingly.
- Modification of json string without deserialisation into map/struct
- Christmas giveaway: 10 copies of my book Domain-driven Design with Golang book, also AMA
-
Wasm difficulties in Rust, Haskell, and Go
jsonparser can decode, but can't encode
-
Is there a way to parse unstructured data?
Best I've found is this: https://github.com/buger/jsonparser
-
Zq: An Easier (and Faster) Alternative to Jq
`jj` is a little tool I wrote that uses https://github.com/buger/jsonparser
-
Whats the fastest JSON unmarshaling package as of right now?
If you don't know the schema or you only need to access one or two fields in a much larger JSON object, I would recommend https://github.com/buger/jsonparser as it provides an easy API to access specific values without fully unmarshaling. This is an unusual use case though, 9 times out of 10 I would tend to use easyjson.
-
map[string]interface{} decoder
Reading and navigating arbitrary JSON: I've used https://github.com/tidwall/gjson, many others like https://github.com/buger/jsonparser are also out there.
- JSON object of objects / Python dictionary of dictionaries (with unknown structure)
jettison
We haven't tracked posts mentioning jettison yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
fastjson - Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection
ej - Write and read JSON from different sources in one line
jsondiff - Compute the diff between two JSON documents as a series of RFC6902 (JSON Patch) operations
gjo - Small utility to create JSON objects
mapslice-json - Go MapSlice for ordered marshal/ unmarshal of maps in JSON
json-to-proto.github.io - convert JSON to Protocol Buffers online in your browser instantly
ojg - Optimized JSON for Go
GJSON - Get JSON values quickly - JSON parser for Go
epoch - Contains primitives for marshaling/unmarshaling Unix timestamp/epoch to/from built-in time.Time type in JSON