Avadhesh Kumar Patel
District Project Manager - Aligarh
14 months work experience in Panchayati Raj Department Sector as District Project Manager & 12 months work experience in IT Sector as Software Engineer. :-)
Lighter and faster than XML as on-the-wire data format
JSON objects are typed while XML data is typeless
JSON types: string, number, array, boolean, XML data are all string Native data form for JavaScript code Data is readily accessible as JSON objects in your JavaScript code vs. XML data needed to be parsed and assigned to variables through tedious DOM APIs Retrieving values is as easy as reading from an object property in your JavaScript code
Liked By
Write Answer
Why Use JSON over XML
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy
Join MindStick Community
You have need login or register for voting of answers or question.
AVADHESH PATEL
06-Jun-2013Lighter and faster than XML as on-the-wire data format
JSON types: string, number, array, boolean,
XML data are all string
Native data form for JavaScript code
Data is readily accessible as JSON objects in your JavaScript
code vs. XML data needed to be parsed and assigned to variables through tedious DOM APIs
Retrieving values is as easy as reading from an object property in your JavaScript code