The thing with XML is it&#x27;s actually much lower level. There are no types inferred by an XML document. It&#x27;s literally just chunks of data. JSON defines strings, boolean, maps, arrays, numbers.<p>It&#x27;s conceptually easier to think about JSON with simple data sets but it&#x27;s terribly inflexible and you have to think about how things are represented inside strings. A couple of thought exercises on JSON:<p>1. How do you represent an image inside JSON?<p>2. How do you represent a reference to another part of the data in JSON (consider a DAG for example)?<p>3. How do you represent an ordered set or an unordered set in JSON?<p>4. How do you represent an unsigned value in JSON?