Registry / serialization / itchyny-gojq

itchyny-gojq

JSON →
library0.12.19gogounverified

Package gojq provides the parser and interpreter of gojq, a pure Go implementation of jq.

go get github.com/itchyny/gojq
INSTALL
IMPORT
SIG · ITCHYNY-GOJQ
I
itchyny-gojq
serializationgov0.12.19
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gojq
github.com/itchyny/gojq

Parses and runs a jq query against JSON data.

package main import ( "fmt" "github.com/itchyny/gojq" ) func main() { query, _ := gojq.Parse(".foo") code, _ := gojq.Compile(query) iter := code.Run(nil, map[string]interface{}{"foo": 42}) fmt.Println(iter.Next()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.12.19latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
itchyny-gojq — go get itchyny-gojq · libregistry