JSON JavaScript... JSON , ECMAScript ( ActionScript)... E4X - XML ActionScript, ...
<node attribute="value"><child/><node>, , ... child ? ? nodename node?
JSON string is an anonymous actioncript object ... XML is not ...
In addition, there are the advantages mentioned above: it is smaller and lighter ... and one final advantage in JSON is that it can capture numeric and logical values ... this does not apply to XML ... attrib="123"may mean string 123or integer 123... same for true, falseand null...
source
share