8 ms·
> The problem is, programmers can't dictate what JSON should look like in the wild. Not JSONs in general, but a sane API would never return something like that
by a57721 2y ago
> The problem is, programmers can't dictate what JSON should look like in the wild.
Not JSONs in general, but a sane API would never return something like that.
> We used to have strict typed XML. Nobody even bothered.
Nowadays there is OpenAPI, GraphQL, protobuf, etc. and people do bother about such things.
- mook 2y agoUnfortunately, a lot of the time you need to deal with other people's APIs.