News for hackers. Stuff that matters.
Re:SVG: The Good, the Bad and the Ugly by com2kid on Monday February 15, 2021 @11:46PM (#26151041)
Lots of APIs pop out JSON.

JSON schema let's you make that a bit safer.

Re:SVG: The Good, the Bad and the Ugly by berkes on Tuesday February 16, 2021 @05:24AM (#26152645)
My point is that if they need this "safer", why not pop out XML instead.

The largest benefit of JSON is that is not XML. That it doesn't get bogged down in schema's, strong typing, interfaces, contracts and so on. You loose all that by turning JSON into XML-written-in-a-different-syntax.