json-pointer
json-pointer copied to clipboard
Some utilities for the JSON pointers described by RFC 6901
https://tools.ietf.org/html/draft-handrews-relative-json-pointer-01 I have an implementation here. https://github.com/mokkabonna/json-hyper-schema/blob/master/src/relative-json-pointer.js complete with tests: https://github.com/mokkabonna/json-hyper-schema/blob/master/test/specs/relative-json-pointer.spec.js Would you be willing to implement that in this library? If so I can make a PR. If not...
Can you improve the documentation and add what exceptions are thrown and why? For example if you use get with a non existing reference token, the function will throw an...
# dict doesn't return property if its value is an empty array, but #has checks that it exists. ``` coffee jsp = require "json-pointer" console.dir jsp.has { a: "x", b:...