Awesome
go-jspointer
JSON pointer for Go
Features
- Compile and match against Maps, Slices, Structs (or pointers to those)
- Set values in each of those
Usage
p, _ := jspointer.New(`/foo/bar/baz`)
result, _ := p.Get(someStruct)
Credits
This is almost a fork of https://github.com/xeipuuv/gojsonpointer.
References
Name | Notes |
---|---|
go-jsval | Validator generator |
go-jsschema | JSON Schema implementation |
go-jshschema | JSON Hyper Schema implementation |
go-jsref | JSON Reference implementation |