top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are the benefits of JSON over XML ?

0 votes
473 views
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
...