Skip to main content

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)

Uploaded source

Built Distribution

jsonschema2popo-0.12-py3-none-any.whl (6.5 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page