Skip to main content

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'}

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for json_reference, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size json_reference-0.1.0.tar.gz (2.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page