3 ms·
> age:{int, min:20}, address: {street, city, state} Unless the space after the colon is significant it seems we have to just "know" that int introduces a type
by beardyw 5y ago
> age:{int, min:20},
address: {street, city, state}
Unless the space after the colon is significant it seems we have to just "know" that int introduces a type definition instead of a structure.
Also
> Schema Details
JSON doesn't have built-in schema support!
seems a little disingenuous. JSON provides a name for each type of value, so there is mostly no need for the schema when viewing the data. There is a JSON Schema definition.
- kabes 5y agoYeah, this format looks really badly designed