DoJSON¶
About¶
DoJSON is a simple Pythonic JSON to JSON converter.
Documentation¶
Documentation is readable at https://dojson.readthedocs.io/ or it can be built using Sphinx:
$ pip install dojson[docs]
$ python setup.py build_sphinx
Example¶
A simple example on how to convert MARCXML to JSON:
from dojson.contrib.marc21.utils import create_record, split_stream
from dojson.contrib.marc21 import marc21
[marc21.do(create_record(data)) for data in split_stream(open('/tmp/data.xml', 'r'))]
User’s Guide¶
This part of the documentation will show you how to get started in using DoJSON.
API Reference¶
If you are looking for information on a specific function, class or method, this part of the documentation is for you.
Additional Notes¶
Notes on how to contribute, legal information and changes are here for the interested.