Skip to content

joeyshi12/json-data-type-transcompiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-data-type-transcompiler

pytest.yml python-publish.yml PyPI

CLI tool for transpiling JSON into a programming language data model.

A web interface for this tool 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

About

CLI tool for transpiling JSON into a programming language data model

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages