jsonparser
fx
Our great sponsors
jsonparser | fx | |
---|---|---|
15 | 50 | |
5,329 | 18,283 | |
- | - | |
0.0 | 9.2 | |
18 days ago | 6 days 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)
fx
-
Jaq – A jq clone focused on correctness, speed, and simplicity
There's also this awesome tool to make JSON interactively navigable in the terminal:
- FLaNK Stack Weekly for 30 Oct 2023
- jq 1.7
-
Modern Linux Tools vs. Unix Classics: Which Would I Choose?
Using awk/sed to parse json seems to be using the wrong tool for the job.
As an alternative to jq with easier to remember syntax, see https://fx.wtf/
Recent discussion: https://news.ycombinator.com/item?id=37567009
- Fx – Terminal JSON Viewer
- jq 1.7 Released
- Bash e limbajul DIAVOLULUI
- Move over jq I found something easier: fx
-
I wrote JOSN, a command-line JSON browser
Neat! You mentioned not getting the hang of jq, have you played with fx?
-
Show HN: Llama – Terminal File Manager
This looks like something I'd use often. Thanks for creating it! For anyone who's not familiar, Anton is also behind the highly useful fx[0] for wrangling JSON data in the terminal.
What are some alternatives?
jless - jless is a command-line JSON viewer designed for reading, exploring, and searching through JSON data.
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
mapslice-json - Go MapSlice for ordered marshal/ unmarshal of maps in JSON
jiq - jid on jq - interactive JSON query tool using jq expressions
jid - json incremental digger
json-to-proto.github.io - convert JSON to Protocol Buffers online in your browser instantly
ojg - Optimized JSON for Go
rq - Record Query - A tool for doing record analysis and transformation
GJSON - Get JSON values quickly - JSON parser for Go
kubectl-jq - Kubectl plugin that works like "kubectl get" but runs everything through a JQ program you provide
jsondiff - Compute the diff between two JSON documents as a series of RFC6902 (JSON Patch) operations