Converts a JSON Schema to a Plain Old Python Object class
Project description
JSONSCHEMA2POPO
A converter to extract 'Plain Old Python Object' classes from JSON Schema files. Currenty compatible with python 3.4+
Installation
pip install jsonschema2popo
Usage
Basic:
jsonschema2popo -o /path/to/output_file.py /path/to/json_schema.json
object JSON encoding:
import json
g = GeneratedClass()
json.dumps(g.as_dict())
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
jsonschema2popo-0.10.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for jsonschema2popo-0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4282cc60e324aeec2e7d99f7b5da7f63bc9445aea28b7b4940df3b189acc0772 |
|
MD5 | f3243c624e7cff1f2c09a260cb8dd71d |
|
BLAKE2b-256 | b08d3a43b59ac03b2b87fc0ce497c1069def53698fbd4a81cccac3af6b809899 |