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 details)
Built Distribution
jdtt-1.2.5-py3-none-any.whl
(7.0 kB
view details)
File details
Details for the file jdtt-1.2.5.tar.gz
.
File metadata
- Download URL: jdtt-1.2.5.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73e87fc6826b54a847abc61628ce72c0ca40ed0c10bdd5776119f5f5864fd01d |
|
MD5 | 2a21db8eca2c2d287117626e4367423e |
|
BLAKE2b-256 | 925812eb8023824372330ef67a81758b9a119e1d96fdf87bdc89702a5bb550c5 |
File details
Details for the file jdtt-1.2.5-py3-none-any.whl
.
File metadata
- Download URL: jdtt-1.2.5-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc67c407b6201b9f506a6120be880c1f9ffcc5843b409ad9a9e0124495c82e48 |
|
MD5 | d563c942caaa9d2a7372257cf61a49ca |
|
BLAKE2b-256 | 77546878984f79cc02558a2c662f8acfab4f8dc86c6a3c92218a6b4e68a1dce8 |