+1 vote
in Big Data | Hadoop by
Compare of JSON and XML

1 Answer

0 votes
by

(1)JSON is much is faster and lighter than XML as on the wire data format in JSON
(2)JSON objects are typed on another place XML data is typeless
(3)Different JSON types are
(i) Number
(ii) Array
(iii)Boolean
(iv) String
(4)XML data are always string
(5)Data is readily available as JSON object is in your JavaScript
(6)Fetching values is as simple as reading from an object property in your JavaScript code

Related questions

0 votes
asked Nov 4, 2020 in JSON by rahuljain1
0 votes
0 votes
asked Jul 19, 2020 in JSON by SakshiSharma
...