Simple implementation of the json-reference spec
Homepage Repository PyPI Python
pip install json_reference==0.1.0
Simple implementation of the json-pointer spec:
http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-00
JSON reference makes it possible to retrieve (parts of) json-objects
>>> import json_reference
>>> json_reference.Reference('http://json-schema.org/draft-04/schema#/definitions').get()
It is also possible to register references for offline access
>>> json_reference.register('http://localhost/test', {'test': 'bli'})
>>> json_reference.Reference('http://localhost/test').get()
{'test': 'bli'}