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.11.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for jsonschema2popo-0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d375eceea11240781586e00d9f8a9519bd008f5d7cfe486deaf473a921d67734 |
|
MD5 | 74a70db9b481675a8dc46e7098cd1ea8 |
|
BLAKE2b-256 | db9c98a440cf774308f729132e1e100b9235c95d0db278987a39988b7c347159 |