News for hackers. Stuff that matters.
Re:Annoyances of API Design by ubu7737 on Friday January 29, 2016 @12:40AM (#10993709)
> XML's saving grace was that it came with good schemas out of the box

JSON is inherently "schema-less". So this provides us with no grievance.

> something that has, at best, extremely weak types

You provide the reader with nothing that indicates that strong-typing is important for JSON use-cases.

> schema equivalents that are bolted on, rarely used, and end up relying on humans understanding exactly what the data looks like

There are no schemas in JSON.

Re:Annoyances of API Design by tbrownaw on Friday January 29, 2016 @02:05AM (#10993935)
There is always a schema.

True, json has no formal explicit schema attached to the data.

However, there is still the ad-hoc informal schema that's defined by what the code interacting with the data does. Because this tends to be poorly specified and hard to get at, it's rather annoying to work with.