News for hackers. Stuff that matters.
Re:A 1.5GB String by berniedurfee on Sunday April 09, 2023 @11:08AM (#35503441)
Agreed. Lack of comments and lack of proper schema enforcement makes JSON a junk pile of a data format.

Definitely not an improvement over XML. Hopefully the next popular standard data format will learn from the past and take the best of previous attempts.

Re:A 1.5GB String by tristan957 on Sunday April 09, 2023 @03:36PM (#35505712)
JSON has schemas though. I use them all the time.
Re:A 1.5GB String by berkes on Monday April 10, 2023 @05:40AM (#35510615)
JSON itself (rfc 8259) has no schema, nor any mention of it. There are several additional RFCs that allow to add schema or other semantics or limitations, though. But JSON has no schemas.
Re:A 1.5GB String by smcin on Wednesday April 12, 2023 @12:33AM (#35535042)
I think you mean "the JSON standard doesn't define any schema".
Re:A 1.5GB String by berkes on Wednesday April 12, 2023 @05:00AM (#35536792)
Indeed. Nor does it mention any place, extension or addition where a scheme could be defined.
Re:A 1.5GB String by kbelder on Sunday April 09, 2023 @04:25PM (#35506144)
The problem is, that despite JSON's clear and numerous flaws, people still overwhelmingly prefer it to XML. XML is that unpleasant.