gojq homepage, documentation and downloads – pure Go implementation of jq – News Fast Delivery
gojq is an implementation of the jq command written in Go. You can also embed gojq as a library into your Go product. Usage $ echo ‘{“foo”: 128}’ | gojq ‘.foo’ 128 $ echo ‘{“a”: {“b”: 42}}’ | gojq ‘.a.b’ 42 $ echo ‘{“id”: “sample”, “10”: {“b”: 42}}’ | gojq ‘{(.id): .[“10”].b}’ { “sample”: 42 […]