packages = [ "pyyaml", "Jinja2", "pydantic", "https://files.pythonhosted.org/packages/ad/e7/4642b7f462381799393fbad894ba4b32db00870a797f0616c197b07129a9/black-23.3.0-py3-none-any.whl", "https://files.pythonhosted.org/packages/35/f0/f3f36d0a87d4f2e3ceb9ba273cac9ad6fb0924f078e51c94803f10b55dbf/PySnooper-1.1.1-py2.py3-none-any.whl", "https://files.pythonhosted.org/packages/0a/63/4036ae70eea279c63e2304b91ee0ac182f467f24f86394ecfe726092340b/isort-5.12.0-py3-none-any.whl", "https://files.pythonhosted.org/packages/44/6f/7120676b6d73228c96e17f1f794d8ab046fc910d781c8d151120c3f1569e/toml-0.10.2-py2.py3-none-any.whl", "https://files.pythonhosted.org/packages/df/d8/3e1a32d305215166f5c32652c473aa766bd7809cd10b34c544dbc31facb5/inflect-5.6.2-py3-none-any.whl", "wheels/genson-1.2.2-py2.py3-none-any.whl", ] terminal=false

JSON to Pydantic

Enter JSON to convert to a pydantic model!

About this tool

Created by Ben Falk using pyscript and the Python library datamodel-code-generator, JSON is converted locally and never leaves your browser. Open source at github.com/falkben/json-to-pydantic/. Heavily inspired by github.com/brokenloop/jsontopydantic.