Articles → JSON → Similarities And Differences Between JSON And XML

Similarities And Differences Between JSON And XML






Similarities


  1. Both JSON and XML are self-describing.
  2. Both JSON and XML represented data in the structured manner.

Differences


  1. JSON supports array whereas XML does not support array.
  2. There is no end tag in JSON.
  3. JSON is more lightweight than XML.



Posted By  -  Karan Gupta
 
Posted On  -  Thursday, May 3, 2018

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250