The fundamental difference between XML and JSON is that XML is a meta-language and JSON is a markup language. ... By contrast, JSON syntax has specific semantics built in: stuff between {} is an object, stuff between [] is an array, etc. A JSON parser, therefore, knows exactly what every JSON document means.