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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file jsonschema2popo-0.12.tar.gz.

File metadata

File hashes

Hashes for jsonschema2popo-0.12.tar.gz
Algorithm Hash digest
SHA256 ec02034a3ffe61e161025448e3b438708e958b2842e8b24325d0a720a7b8184a
MD5 c1521c2d92cb882cd8c0aa0329bc139c
BLAKE2b-256 4ac0efb230811257da216e682920e6cacf85ddc764025b2cf9c555a301b653b6

See more details on using hashes here.

File details

Details for the file jsonschema2popo-0.12-py3-none-any.whl.

File metadata

File hashes

Hashes for jsonschema2popo-0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 c796905d0c7f7c8d90ceadbed56618974cbf3a15c177fc125f33e0634c2a6351
MD5 04076bbc09d6cde28092fc34fffdfab2
BLAKE2b-256 5e403274ddf7edff2d75e740ddde4bef87ca82a10c923e80d7755c62c1ee5cc0

See more details on using hashes here.

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