A sample tool to generate Typescript type file from JSON file.
git clone https://github.com/ymrdf/jsonToType.git
cd ./jsonToType
npm install
node main [options] <file ...>
Options:
-V, --version output the version number
-r, --root <n> string, interface name, default 'root'
-i, --input <n> string, input file name, default 'input.json'
-o, --output <n> string, output file name, default 'output.ts'
-h, --help output usage information