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

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)

Uploaded Source

Built Distribution

jsonschema2popo-0.8-py3-none-any.whl (7.7 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