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.9.tar.gz
(5.0 kB
view hashes)
Built Distribution
Close
Hashes for jsonschema2popo-0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13c7440e83d2a272c589a2fa8d2a0520bdfd633134d691e745c8d2b809d7e742 |
|
MD5 | ffff35d816132098590fa54d76bb56d3 |
|
BLAKE2b-256 | 67ff295860b9450b6150e1b140e875a3b89dc55ff74150cc4a333568e7babbef |