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.9.tar.gz (5.0 kB view hashes)

Uploaded Source

Built Distribution

jsonschema2popo-0.9-py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page