{"repo":"jiro4989/nimjson","free":true,"listed":false,"github":"https://github.com/jiro4989/nimjson","clone":"git clone https://github.com/jiro4989/nimjson.git","description":"nimjson generates nim object definitions from json documents.","language":"Nim","stars":56,"topics":["nim","cli","command","json","lib","library"],"license":"MIT","category":"cli-tools","readme_excerpt":"nimjson nimjson generates nim object definitions from json documents. This was inspired by gojson. Development Nim (stable version) Usage examples (CLI) nimjson writes NilType type if a value or a first value of an array is null. Please fix NilType type yourself. Large JSON Simple JSON JSON Schema nimjson supports partially JSON Schema. nimjson generates Nim type definition with JSON Schema when you enable -j option. It is wrapped by default in the Option type that properties not included in the required parameter of JSON Schema. If you don't want to use Option type, you can use --disable-option-type option. nimjson supports $ref and $defs keywords. But it doesn't support URL of $ref . This is supported: This is NOT supported: Usage examples (API) JSON Schema: Installation Nim users Linux users (Debian base distros) Linux users (RHEL compatible distros) Help nimjson -h nimjson generates nim object definitions from json documents. Usage: nimjson [options] [files...] nimjson (-h --help) nimjson (-v --version) Options: -h, --help Print this help -v, --version Print version -X, --debug Debug on -o, --out-file:FILE PATH Write file path -O, --object-name:OBJECT NAME Set object type name -p, --public-field Public fields -q, --quote-field Quotes all fields -j, --json-schema Read JSON as JSON Schema format --disable-option-type (Only JSON Schema) Disable using Option type License MIT Document - https://jiro4989.github.io/nimjson/nimjson.html Web application of nimjson I created simple","default_branch":null,"files":null,"tree":[],"storefront":"/r/jiro4989","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jiro4989/nimjson/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}