Y
Hacker News
new
|
ask
|
show
|
jobs
by
euroderf
707 days ago
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.
1 comments
ElectricalUnion
705 days ago
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.
link