Examveda
Examveda

What is the purpose of the url json?

A. Belongs to JSON object

B. Reference JSON formatted data

C. Belongs to JSON

D. None of the mentioned

Answer: Option B

Solution(By Examveda Team)

The URL JSON is assumed to reference a file of JSON-formatted data. The value passed to the callback is the object obtained by parsing the URL contents with jQuery.parseJSON(). jQuery.getJSON() uses this type. If the type is “json” and the URL or data string contains “=?”, the type is converted to “jsonp”.

Join The Discussion

Related Questions on Parsing, Benchmarking and Logging