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


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 details)

Uploaded Source

File details

Details for the file json_reference-0.1.0.tar.gz.

File metadata

File hashes

Hashes for json_reference-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5c022e394aabe2fc49e69f988b620b1dcf1356bd825c638b1c0a8b888ac5ec01
MD5 2863953a98a95a9c71aa6e95390194e8
BLAKE2b-256 657c6f0accb64a6d83ea9287174f3417d9c61fb9798c1cf030d72a0cf287348c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page