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
git clone https://github.com/frx08/jsonschema2popo.git cd jsonschema2popo pip install -r requirements.txt
## Usage
Basic:
python jsonschema2popo.py /path/to/json_schema.json -o /path/to/output_folder/
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.8.tar.gz
(4.5 kB
view hashes)
Built Distribution
Close
Hashes for jsonschema2popo-0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 178343a8a7cf0750e733c853b654b9b11f1272810ea73c1f94b6c312d56be867 |
|
MD5 | b28a65fef113e2ee0749cf6eccb085c1 |
|
BLAKE2b-256 | edba1ff388f1540dd7f4b3a7eb45e2bc70a96c93ee0464caa46305f96b02eed2 |