You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| JavaScript Object Notation | eXtensible Markup Language |
272
-
| JSON uses `key : value` or `name : value` pair to store data (JSON doesn't use end tag) | XML uses `tags **< value >**, element or node` to store data |
272
+
| JSON uses `key : value` or `name : value` pair to store data (JSON doesn't use end tag) | XML uses `tags < value >, element or node` to store data |
273
273
| JSON is shorter, JSON has a more compact style than XML | XML is pretty larger/lengthy as we need to open and close tags for every `name` or `key`|
274
274
| JSON is `quicker and easier` to read and write | XML is `little difficult to read and write` as we need to write many tags |
275
275
| JSON can use arrays | XML cant use arrays, it uses tags |
0 commit comments