Skip to main content

JSON to programming language schema converter

Project description

json-data-type-transcompiler

pytest.yml

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


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.2.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

jdtt-1.2.2-py3-none-any.whl (8.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page