Skip to content

Converts a JSON Schema to a Plain Old Python Object class

License

Notifications You must be signed in to change notification settings

frx08/jsonschema2popo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Converts a JSON Schema to a Plain Old Python Object class

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages