Registry / serialization / xeipuuv-gojsonpointer

xeipuuv-gojsonpointer

JSON →
library0.0.0-20190905194746-02993c407bfbgogounverified

gojsonpointer implements JSON Pointer (RFC 6901) for Go.

go get github.com/xeipuuv/gojsonpointer
INSTALL
IMPORT
SIG · XEIPUUV-GOJSONPOIN
X
xeipuuv-gojsonpointer
serializationgov0.0.0-20190905194746-02993c407bfb
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.

gojsonpointer
github.com/xeipuuv/gojsonpointer

Resolve a JSON Pointer against a document

package main import ( "fmt" "github.com/xeipuuv/gojsonpointer" ) func main() { pointer, _ := gojsonpointer.NewJsonPointer("/foo/bar") document := map[string]interface{}{"foo": map[string]interface{}{"bar": "value"}} result, _, err := pointer.Get(document) if err != nil { panic(err) } fmt.Println(result) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20190905194746-02993c407bfblatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
14
OpenAI (training)
1
Resources
xeipuuv-gojsonpointer — go get xeipuuv-gojsonpointer · libregistry