XML and JSON are representations -- so they are all just bits. It's meaningless to say that, however.
The metadata and surrounding standards are what give those bits more meaning. So compare what the standards have to offer.
(Aside: I don't like XML and I think JSON is way over-hyped and under-delivers.)
Which I did. The XML standard only offers strings, and you can add schemas to JSON.
XML and JSON are representations -- so they are all just bits. It's meaningless to say that, however.
The metadata and surrounding standards are what give those bits more meaning. So compare what the standards have to offer.
(Aside: I don't like XML and I think JSON is way over-hyped and under-delivers.)