Simple implementation of the json-reference spec
Project description
.. image:: https://drone.io/bitbucket.org/eodolphi/json-reference/status.png
:target: https://drone.io/bitbucket.org/eodolphi/json-reference/latest
JSON Reference
=============
Simple implementation of the json-pointer spec:
http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-00
Usage
------------
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'}
:target: https://drone.io/bitbucket.org/eodolphi/json-reference/latest
JSON Reference
=============
Simple implementation of the json-pointer spec:
http://tools.ietf.org/html/draft-pbryan-zyp-json-ref-00
Usage
------------
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'}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
json_reference-0.1.0.tar.gz
(2.1 kB
view hashes)