0% found this document useful (0 votes)
546 views

Untitled

The document contains 30 multiple choice questions about JSON (JavaScript Object Notation). Some key points covered include: - JSON is a lightweight data format that is easy for humans to read and write and for machines to parse. - JSON objects contain name/value pairs and can contain arrays. - Popular JSON parsers like GSON and Jackson can convert between JSON and objects in languages like Java. - JSON has become a common format for asynchronous browser/server communication.

Uploaded by

hari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
546 views

Untitled

The document contains 30 multiple choice questions about JSON (JavaScript Object Notation). Some key points covered include: - JSON is a lightweight data format that is easy for humans to read and write and for machines to parse. - JSON objects contain name/value pairs and can contain arrays. - Popular JSON parsers like GSON and Jackson can convert between JSON and objects in languages like Java. - JSON has become a common format for asynchronous browser/server communication.

Uploaded by

hari
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

1) What is/are the correct statements about JSON?

All of options
2) What is the standard MIME type for JSON?
application/json
3) True or False: JSON objects are typed while XML data is typeless.
True
4) Who is the Father of JSON?
Douglas Crockford
5) GSON can convert any Objects into JSON and vice versa.
False
6) JSON objects is/are _.
All of the options
7) FasterXML�s Jackson can handle both JSON/non-JSON encodings.
True
8) Why JSON over XML?
Retrieving values is as easy as reading from an object property
9) What is the true option applicable for JSON?
An unordered list of values
10) Looping an Array is possible in JSON.
True
11) JavaScript function JSON.stringify() is to convert JSON Object into a string.
True
12) Which statements is/are correct about JSON Syntax?
All of the options
13) Find the correct JSON code:
{
"students": [
{ "firstName":"Ali" , "lastName":"Khan" },
{ "firstName":"John" , "lastName":"Sena" },
{ "firstName":"Kate" , "lastName":"Winslet" }
]
}
14) Which would be better option to consider in a environment when you have both
big JSON file & multiple small JSON files to deal with?
Jackson
15) Which is true about JSON Syntax?
An Object (in square brackets)
16) What are true about JSON Arrays?
values should be comma-separated
17) What is the true option applicable for JSON Parser ?
Used to convert a JSON text to a JavaScript object
18) JSON can support sending, reading, and receiving texts available in any real-
world business scenario.
True
19) Which API for JSON processing can consume/produce streaming JSON text?
JSONP
20) True or False: JSON is now being supported by almost all Programming languages.
True
*false 21) Functions added undef Native JSON is .
stringify() and parse()
22) Which would be better option to consider in a environment when you have big
JSON file ?
Jackson
23) While receiving data from any web server, the data is always ___.
String
24) Which would be better option to consider in a environment with distributed set-
up with multiple small JSON files ?
GSON
25) True or False: Objects can contain multiple name/values pairs.
True
26) What is JSON RPC?
JSON-RPC is a simple remote procedure call protocol that uses the lightweight
JSON format instead of XML.
27) What is the correct way to write a JSON array?
var colors = ["red", "green", "blue"]
28) What is/ are correct statements about JSON?
All of the options
29) True or False: JSON is not a data format that can be used for asynchronous
browser/server communication.
False
30) True or False: In JSON syntax, square brackets can't holds arrays.
False

You might also like