Sim-Ex™ Practice Exams for CCNP ENCOR (350-401):Practice questions

JSON syntax

Home     Previous     Up     Next

Q9. Which of the following JSON syntax is valid?

A. {router : name:R1,interfaces:[serial1,serial2,serial3]}

B. {/router/:{/name/: R1,/interfaces/: [serial1,serial2,serial3]}}

C. {router:{name:R1,interfaces: [serial1,serial2,serial3]}}

D. {router: (name: R1, interfaces: [serial1, serial2, serial3])}

Correct Answer: A


JSON stores all its information in key/value pairs. JSON uses objects for its format. Each JSON object starts with a { and ends with a }. (These are commonly referred to as curly braces.)
For Ex:
"student": "john",
"Section": "D",
"friend": "Lee",

Home     Previous     Up     Next

Disclaimer: is not affiliated with any certification vendor, and Sim-Ex™ Practice Exams are written independently by and not affiliated or authorized by respective certification providers. Sim-Ex™ is a trade mark of or entity representing™ is a trademark of Cisco® systems