Articles → JSON → Similarities And Differences Between JSON And XML
Similarities And Differences Between JSON And XML
Similarities
- Both JSON and XML are self-describing.
- Both JSON and XML represented data in the structured manner.
Differences
- JSON supports array whereas XML does not support array.
- There is no end tag in JSON.
- JSON is more lightweight than XML.