|
|
|
|
|
by ygra
4491 days ago
|
|
The two are not interchangeable, though. XML allows mixed content, i.e. something like <Foo>Some text <Bar>more text</Bar></Foo>
while JSON does not. So there isn't a 1:1 mapping, at least not in the direction XML → JSON (and the other direction only works if you have a schema that defines data types for the document). |
|