Registry / serialization / tidwall-gjson

tidwall-gjson

JSON →
library1.19.0gogounverified

Package gjson provides searching for json strings.

go get github.com/tidwall/gjson
INSTALL
IMPORT
SIG · TIDWALL-GJSON
T
tidwall-gjson
serializationgov1.19.0
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.

gjson
github.com/tidwall/gjson

Get a nested value from a JSON string using a path.

package main import ( "fmt" "github.com/tidwall/gjson" ) func main() { json := `{"name":{"first":"Janet","last":"Prichard"}}` value := gjson.Get(json, "name.last") fmt.Println(value.String()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
OpenAI (training)
1
Resources
tidwall-gjson — go get tidwall-gjson · libregistry