Json
Json
----------
What is/are the correct statements about JSON? - all
True or False: JSON objects are typed while XML data is typeless. - true
Who is the Father of JSON? - Douglas Crockford
True or False: Objects can contain multiple name/values pairs. - true
True or False: Data can be readily accessible using JSON objects. - true
What is the standard MIME type for JSON? - application/json
----------------------
While receiving data from any web server, the data is always _ - String
True or False: JSON is now being supported by almost all Programming languages. -
true
JSON objects is/are _ - all
Which would be better option to consider in a environment when you have big JSON
file ? - JSON simple (regular)
Find the correct JSON code: - {
"students": [
{ "firstName":"Ali" , "lastName":"Khan" },
{ "firstName":"John" , "lastName":"Sena" },
{ "firstName":"Kate" , "lastName":"Winslet" }
]
}
FasterXML�s Jackson can handle both JSON/non-JSON encodings. - true
Which would be better option to consider in a environment with distributed set-up
with multiple small JSON files ? - GSON
What are the true options applicable for JSON Parser? - Used to convert a JSON text
to a JavaScript object.
Which would be better option to consider in a environment when you have big JSON
file ? - Jackson
Which API for JSON processing can consume/produce streaming JSON text? - JSONP
What is the correct way to write a JSON array? - var colors = ["red", "green",
"blue"]
True or False: JSON is not a data format that can be used for asynchronous
browser/server communication. - False
JavaScript function JSON.parse() is to convert text into string. - false
True or False: In JSON syntax, square brackets can't holds arrays. - false
Looping an Array is possible in JSON. - true
What is JSON RPC? - JSON-RPC is a simple remote procedure call protocol that uses
the lightweight JSON format instead of XML.
Which is true about JSON Syntax? - An Object (in square brackets) A string (in
multiple quotes) ***not correct***
Functions added undef Native JSON is - stringify() and parse() , parse() ***not
correct***
Which would be better option to consider in a environment when you have both big
JSON file & multiple small JSON files to deal with? - GSON ** Not correct***
True or False: In JSON Syntax, each name is followed by : (colon) and the
name/value pairs are separated by ; (semicolon).
GSON can convert any Objects into JSON and vice versa.