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

Explanation:

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",
School:"VBV"
}

Home     Previous     Up     Next


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