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.12.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for jsonschema2popo-0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c796905d0c7f7c8d90ceadbed56618974cbf3a15c177fc125f33e0634c2a6351 |
|
MD5 | 04076bbc09d6cde28092fc34fffdfab2 |
|
BLAKE2b-256 | 5e403274ddf7edff2d75e740ddde4bef87ca82a10c923e80d7755c62c1ee5cc0 |