Use type-switch instead of reflect to navigate the structure

Faster!
1 file changed
tree: c5d10e105b2d9591206ec494a8048b405a1fa830
  1. LICENSE-APACHE-2.0.txt
  2. pointer.go
  3. pointer_test.go
  4. README.md
README.md

gojsonpointer

An implementation of JSON Pointer - Go language

References

http://tools.ietf.org/html/draft-ietf-appsawg-json-pointer-07

Note

The 4.Evaluation part of the previous reference, starting with ‘If the currently referenced value is a JSON array, the reference token MUST contain either...’ is not implemented.