Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. What is the purpose of the url json?

  2. A.

     Belongs to JSON object

    B.

     Reference JSON formatted data

    C.

     Belongs to JSON

    D.

     None of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

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


Be The First To Comment