nerdexam
Cisco

350-401 · Question #13

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

The correct answer is E. {"Name":"Bob Johnson","age":75,"alive":true,"favorite foods":["Cereal","Mustard","Onions"]}. JSON Syntax Explanation Option E is correct because it follows all valid JSON formatting rules: curly braces {} wrap the entire object, all keys and string values are enclosed in double quotes, key-value pairs are separated by colons :, the age value 75 is correctly represented a

Submitted by jordan8· Mar 6, 2026Automation

Question

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

Options

  • AName: Bob, Johnson, Age: 75, Alive: true, Favourite Foods. [Cereal, "Mustard", "Onions}}
  • BName", "Bob Johnson", "Age", 75, "Alive", true, "favourite Foods", ["Cereal, "Mustard", Onions"}}
  • CName', 'Bob Johnson,' 'Age', 75, 'Alive', true, 'favourite Foods' 'Cereal Mustard', 'Onions'}
  • DName", "Bob Johnson", "Age": Seventysix, "Alive" true, "favourite Foods" ,[Cereal" "Mustard"
  • E{"Name":"Bob Johnson","age":75,"alive":true,"favorite foods":["Cereal","Mustard","Onions"]}

How the community answered

(35 responses)
  • A
    6% (2)
  • B
    3% (1)
  • E
    91% (32)

Explanation

JSON Syntax Explanation

Option E is correct because it follows all valid JSON formatting rules: curly braces {} wrap the entire object, all keys and string values are enclosed in double quotes, key-value pairs are separated by colons :, the age value 75 is correctly represented as a number (no quotes), true is a valid JSON boolean, and the array of foods uses square brackets [] with comma-separated quoted strings.

Options A, B, C, and D all violate core JSON rules in various ways - A uses no quotes at all and has mismatched closing braces; B and C use commas instead of colons to separate keys from values; C uses single quotes instead of the required double quotes; and D spells out "Seventysix" as a string instead of the numeric value 75, and is missing required colons and closing brackets.

Memory Tip: Remember the acronym "DOCKS" for JSON: Double quotes for keys/strings, Object wrapped in {}, Colons separate key-value pairs, Keys always quoted, Square brackets [] for arrays. If any of these are missing or replaced (single quotes, missing colons, unquoted keys), the JSON is invalid.

Topics

#JSON#Data Serialization#Automation Basics

Community Discussion

No community discussion yet for this question.

Full 350-401 Practice