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

This version
History Node

0.1.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
json_reference-0.1.0.tar.gz (2.1 kB) Copy SHA256 hash SHA256 Source None Oct 22, 2013

Supported by

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