Json

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

1Q: What is JSON?

JSON is an open standard for exchanging data on the web. It supports data structures like
object and array. So it is easy to write and read data from JSON.
JSON stands for JavaScript Object Notation.
JSON is an open standard data-interchange format.
JSON is lightweight and self-describing.
JSON is originated from JavaScript.
JSON is easy to read and write.
JSON is language independent.
JSON supports data structures such as array and objects.
2Q: What are the features of the JSON?
Simplicity
Openness
Self-Describing
Internationalization
Extensibility
Interoperability
3Q: What is the Difference between JSON and XML?
SIN JSON
O
1 JSON stands for JavaScript Object
Notation
2 JSON is simple to read and write
3 JSON is easy to learn
4 JSON is data-oriented.
5 JSON doesn't provide display
capabilities.
6 JSON supports array.
7 JSON is less secured than XML.
8 JSON files are more human
readable than XML
9 JSON supports only text and
number data type.
10 {"employees":[
{"name":"Vimal",
"email":"[email protected]"},
{"name":"Rahul",
"email":"[email protected]"},
{"name":"Jai",
"email":"[email protected]"}
]}

XML
XML stands for eXtensible Markup Language.
XML is less simple than JSON
XML is less easy than JSON.
XML is document-oriented.
XML provides the capability to display data because it
is a markup language.
XML doesn't support array.
XML is more secured.
XML files are less human readable.
XML support many data types such as text, number,
images, charts, graphs etc. Moreover, XML offeres
options for transferring the format or structure of the
data with actual data.
<employees>
<employee>
<name>Vimal</name>
<email>[email protected]</email>
</employee>
<employee>
<name>Rahul</name>
<email>[email protected]</email>
</employee>
<employee>
<name>Jai</name>
<email>[email protected]</email>
</employee>
</employees>

4Q: What are the similarities between JSON and XML?

Both
Both
Both
Both

are simple and open.


support Unicode. So internationalization is supported by JSON and XML both.
represent self-describing data.
are interoperable or language-independent.

You might also like