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: All Simulation Exams practice tests, study guides and/or material are neither sponsored by, nor endorsed by, nor affiliated with Cisco® Systems or any other company. All trademarks are trademarks of their respective owners and duly acknowledged. CCNA, CCENT, ICND2, CCNP, CCIE are registered trade marks of Cisco®Systems. The practice tests material is a copyright of SimulationExams.com and the same is not approved or endorsed by respective certifying bodies. Thank-you for your interest in Simulation Exams. Please see read me file before you download, install, and/or use any software from SimulationExams.com For any information or questions regarding this Website, please e-mail webmaster at simulationexams.com