top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration

Facebook Login
Site Registration

What are the benefits of JSON over XML ?

0 votes
What are the benefits of JSON over XML ?
posted Feb 2, 2017 by Samira Sharma

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+2 votes
  1. JSON is less verbose that XML
  2. Aligns well with Javascript object notation so can be converted to and from a javascript object directly without any extra steps.
  3. XML supports validation, so wherever validation is not needed, JSON is a better option.
answer Feb 2, 2017 by Shyam Purkayastha
Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.