JSON to programming language schema converter
Project description
json-data-type-transcompiler
CLI tool for transpiling JSON into a programming language data model.
A web interface for using this library is provided at devtools.joeyshi.xyz/jdtt
Installation
pip3 install jdtt
Usage
usage: jdtt [-h] [-l {python,typescript,java,scala}] [-n SCHEMA_NAME] [-s] [-d DATE_FORMAT] [json_file]
positional arguments:
json_file JSON filepath
options:
-h show this help message and exit
-l {python,typescript,java,scala} target language for transpilation
-n SCHEMA_NAME name of the schema
-s sanitize symbol names in schema
-d DATE_FORMAT regex for detecting date fields
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jdtt-1.2.5.tar.gz
(6.6 kB
view hashes)
Built Distribution
jdtt-1.2.5-py3-none-any.whl
(7.0 kB
view hashes)