Registry / serialization / yalp-jsonpath

yalp-jsonpath

JSON →
library0.0.0-20180802001716-5cc68e5049a0gogounverified

Package jsonpath implements Stefan Goener's JSONPath for querying JSON data.

go get github.com/yalp/jsonpath
INSTALL
IMPORT
SIG · YALP-JSONPATH
Y
yalp-jsonpath
serializationgov0.0.0-20180802001716-5cc68e5049a0
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.

jsonpath
github.com/yalp/jsonpath

Parses JSON and reads a value using a JSONPath expression.

package main import ( "encoding/json" "fmt" "github.com/yalp/jsonpath" ) func main() { var data interface{} json.Unmarshal([]byte(`{"store": {"book": {"title": "Go"}}}`), &data) authors, _ := jsonpath.Read(data, "$.store.book.title") fmt.Println(authors) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20180802001716-5cc68e5049a0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
20
OpenAI (training)
1
Resources
yalp-jsonpath — go get yalp-jsonpath · libregistry