Refer to the exhibit. What is the JSON syntax that is formed from the data?

IT Questions BankCategory: CCNPRefer to the exhibit. What is the JSON syntax that is formed from the data?
Refer to the exhibit. What is the JSON syntax that is formed from the data? 1ITExamAnswers Staff asked 5 months ago

Refer to the exhibit. What is the JSON syntax that is formed from the data?
CCIE/CCNP 350-401 ENCOR Dumps Full Questions with VCE & PDF 134

  • A. Make”:’Gocar, “Model’: “Zoom”, “Features”: [“Power Windows”, “Manual Dnve”, “Auto AC”]}
  • B. ‘Make “: “Gocar1, “Model”: “Zoom”, “Features”: [“Power Windows”, “Manual Drive”, “Auto AC”]
  • C. {“Make”: Gocar, “Model”: Zoom, “Features”: Power Windows, Manual Drive, Auto AC}
  • D. (“Make”:[ “Gocar”, “Model”: “Zoom”], Features”: [“Power Windows”, “Manual Drive”, “Auto AC”]}

Explanation: JSON syntax structure: + uses curly braces {} to hold objects and square brackets [] to hold arrays + JSON data is written as key/value pairs + A key/value pair consists of a key (must be a string in double quotation marks “”), followed by a colon :, followed by a value. For example: “name”:”John” + Each key must be unique + Values must be of type string, number, object, array, boolean or null + Multiple key/value within an object are separated by commas , JSON can use arrays. Arrays are used to store multiple values in a single variable. For example:
{
“name”:”John”,
“age”:30,
“cars”:[ “Ford”, “BMW”, “Fiat”]
}
In the above example, “cars” is an array which contains three values “Ford”, “BMW” and “Fiat”.
Note: Although our correct answer above does not have curly braces to hold objects but it is still the best choice here.
CCIE/CCNP 350-401 ENCOR Dumps Full Questions with VCE & PDF 135

More Questions: CCNP 350-401 Dumps


Related Articles

guest
0 Comments
Inline Feedbacks
View all comments