/json2nim

A tool to convert JSON schema to a nim type

Primary LanguageNim

Json2Nim

Json2Nim is a program that converts JSON schema into Nim types.

Installation

Use git to pull the repository locally, then build it using the following:

git clone https://github.com/isaacdonaldson/json2nim.git
cd json2nim
nimble build

Usage

json2nim -h

Roadmap if ever used

  • Make sure this works for more than trivial cases
  • Add support for ref object types
  • Experiemnt with JS version
  • Seperate JS and CLI version