0 votes
in JSON by
Why must one use JSON over XML?

1 Answer

0 votes
by
Why must one use JSON over XML?

1) It is faster and lighter than XML as on the wire data format

2) XML data is typeless while JSON objects are typed

3) JSON types: Number, Array, Boolean, String

4) XML data are all 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

json-logo

Related questions

0 votes
asked Jul 20, 2020 in JSON by Robindeniel
0 votes
asked Jul 20, 2020 in JSON by Robindeniel
...