3 ms·
Right on. And with the inclusion of a JSON-schema header, it makes data parsing a breeze: { "$schema": "http://json-schema.org/draft-07/schema#", "type": "
by xtracto 5y ago
Right on. And with the inclusion of a JSON-schema header, it makes data parsing a breeze:
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "array", "items": {"type":"array","items": [ { "type": "number" }, { "type": "string" }, { "enum": ["Street", "Avenue", "Boulevard"] },{ "enum": ["NW", "NE", "SW", "SE"] } ]} }
[[3,"some", "Street", "NE"],
[4,"other", "Avenue", "SE"],
[5,"some", "Boulevard", "SW"]]
- Existenceblinks 5y agoWith draft 2020-12, you can even have module-like based on [Compound Document spec](https://json-schema.org/draft/2020-12/json-schema-core.html#rfc.section.9.3 https://json-schema.org/draft/2020-12/json-schema-core.html#...) Now you have tables and relation. Only few people understand the usefulness of Compound Document, currently.