An open API service indexing awesome lists of open source software.

https://github.com/mattroberts297/ts-json-schema

Generate TypeScript code to model and unmarshal JSON for a given schema
https://github.com/mattroberts297/ts-json-schema

Last synced: 14 days ago
JSON representation

Generate TypeScript code to model and unmarshal JSON for a given schema

Awesome Lists containing this project

README

        

# ts-json-schema-gen

Generate Typescript interfaces and functions to parse and unmarshal JSON according to some JSON schema because no one wants to do this by hand.

## Getting Started

TODO

## Usage

See `json-schema-gen.spec.ts` for an example.

## Known limitations

- JSON schema objects must have a title.
- JSON schema objects must not have the same title.
- JSON schema must be in one file (no reference support).