Conversation
Notices
-
Embed this notice
xml was a mistake
-
Embed this notice
It did okay for its time .. it has some big advantages over JSON today; namely comments and namespacing. The namespacing made it easier to use to marshal and serialize data with type checking. SAX parsers can handle streaming XML and they're very fast. Certain protocols in the open source work still use XML (like XMPP).
...I dunno ... JSON feels like a mistake ... but not in an of itself. Javascript was the original sin. JavaScript is the devil; the fall of all mankind.
-
Embed this notice
@djsumdog just so used to dealing with json and key value type stuff. less code and generally less of a pain if you're wanting to make something in a hurry
-
Embed this notice
That is true, and you can still validate with JSON schema. It has some strong advantages too, mostly by being much simpler.
-
Embed this notice
@kirby I learned recently that spaces and line breaks between tags are considered child data even if it's just padding or formatting