Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 900 Bytes

json-typedef.md

File metadata and controls

20 lines (12 loc) · 900 Bytes

IDL: JSON Type Definition

From jsontypedef.com,

JSON Type Definition, aka RFC 8927, is an easy-to-learn, standardized way to define a schema for JSON data. You can use JSON Typedef to portably validate data across programming languages, create dummy data, generate code, and more.

This tool is based on jtd-codegen which is a code generator for JSON Type Definition.

You can find out how to write JSON Type Definition IDL files in the jsontypedef.com documentation.

YAML support

Unlike the original JSON Type Definition toolings, jtd-codebuild supports YAML format for writing JSON Type Definition IDL files.

You can either write JSON Type Definition IDL files in JSON or YAML format.