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

I'm thinking that if a range of XML markups can delimit and separate out metadata (e.g. HTML head v body), then heck so can JSON. Maybe not prettily.


To me the advantage of XML in this would be CDATA segments, that can represent (almost) any text (that isn't the CDATA terminator string) without requiring text escape hell. And if some sort of JSON supported said CDATA, well, it is no longer JSON.




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

Search: