|
|
|
|
|
by dstein
5690 days ago
|
|
The XML is better because when the data types directly relate to tag names it is simple to understand, read, and write, process, and there are tons of XML libraries in every language that do object-xml serialization automatically. With JSON, since there are no types, you must manually write your own data-object serialization and embed the type system right into the data structure itself. |
|
Plus, serialization to JSON in a dynamically-typed language is pretty much automagic compared to what you have to do with XML.