Hacker News new | ask | show | jobs
by beardyw 1704 days 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.

1 comments

Yeah, this format looks really badly designed