Which output displays a JSON data representation?

Posted by: Pdfprep Category: 200-301 Tags: , ,

Which output displays a JSON data representation?

A)

B)

C)

D)

A . Option A
B . Option B
C . Option C
D . Option D

Answer: C

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” +

}

JSON can have empty object like “taskId”:,-

Leave a Reply

Your email address will not be published.