xjson
jsonparser
Our great sponsors
xjson | jsonparser | |
---|---|---|
2 | 15 | |
49 | 5,349 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | about 2 months ago | |
Go | Go | |
BSD 3-clause "New" or "Revised" 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.
xjson
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
-
Why the heck am I getting an empty byte array trying to read a simple json file?
I was actually just trying to get it into a []byte to use this package which claims it works well for unknown data structures.
-
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.
What are some alternatives?
GJSON - Get JSON values quickly - JSON parser for Go
fastjson - Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection
varint - VarInt: fast & memory efficient arbitrary bit width integers in Go.
ej - Write and read JSON from different sources in one line
mapslice-json - Go MapSlice for ordered marshal/ unmarshal of maps in JSON
ojg - Optimized JSON for Go
json-to-proto.github.io - convert JSON to Protocol Buffers online in your browser instantly
jsondiff - Compute the diff between two JSON documents as a series of RFC6902 (JSON Patch) operations
epoch - Contains primitives for marshaling/unmarshaling Unix timestamp/epoch to/from built-in time.Time type in JSON
omg.jsonparser - The simple JSON parser with validation by condition
jettison - Highly configurable, fast JSON encoder for Go