Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

JSON is a much more simple specification than XML. If parsing XML is as fast as parsing JSON, you aren't parsing XML, just a subset of it.


Parsing speed does not necessarily correspond to the complexity of the spec. For example a lot of complexity in the XML spec is the DTD part. But if you parse a document without a DTD, this would presumably not have a performance cost.


There's a massive difference between what makes a valid XML document and what makes a valid JSON document.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: