Setup
Requirements
- Python 3.5.2+
Installation
Stable releases can be installed via PyPI:
$ pip install hgijson
Bleeding edge versions can be installed directly from GitHub:
$ pip install git+https://github.com/wtsi-hgi/python-json.git@<commit_id_or_branch_or_tag>#egg=hgijson
To declare this library as a dependency of your project, add it to your requirement.txt
file.
Imports
All methods and classes can be imported with:
from hgijson import *
Once what is required is known, it is good practice to import things explicitly, e.g.:
from hgijson import JsonPropertyMapping, MappingJSONEncoderClassBuilder, MappingJSONDecoderClassBuilder