
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Difference Between JSON and XML
Both JSON and XML are the most popular data transversal resources in programming world.Due to their various important characteristics and features both of these resources are widely used globally.
On the basis of their features following are the important differences JSON and XML
Sr. No. | Key | JSON | XML |
---|---|---|---|
1 | Abbreviation | JSON stands for JavaScript Object Notation. | On other hand XML stands for Extensible Mark-up Language. |
2 | Type | JSON format is data interchangeable. | On other hand XML format is Mark-up language. |
3 | Based on | JSON is derived from JavaScript language from where it puts the feature to represents the data in a way of representing objects. | On other hand XML is derived from SGML and uses tag structure to represent data items. |
4 | Name-space and Array | JSON does not provides any support for name-spaces but supports Arrays. | On other hand supports name-spaces but does not support Arrays. |
5 | Secured | JSON is less secured as compare to that of XML. | On other hand XML is comparatively more secure than JSON. |
5 | Encoding | JSON supports only UTF-8 encoding. | On other hand along with UTF-8 encoding XML also supports various other encoding. |
Advertisements