PdfPrep.com

Which option about JSON is true?

Which option about JSON is true?
A . uses predefined tags or angle brackets (<>) to delimit markup text
B . used to describe structured data that includes arrays
C . used for storing information
D . similar to HTML, it is more verbose than XML

Answer: B

Explanation:

JSON data is written as name/value pairs.

A name/value pair consists of a field name (in double quotes), followed by a colon, followed by a value:

“name”:”Mark”

JSON can use arrays. Array values must be of type string, number, object, array, boolean or null..

For example:

{

“name”:”John”,

“age”:30,

“cars”:* “Ford”, “BMW”, “Fiat” ]

}

Exit mobile version