lestrrat-go / jspointer

JSON pointer for Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

go-jspointer

Build Status

GoDoc

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

About

JSON pointer for Go

License:MIT License


Languages

Language:Go 100.0%