Cisco® CCNA Exam Cram Notes :nterpret JSON encoded data

IX. Automation and Programmability

3. nterpret JSON encoded data

JSON, short for JavaScript Object Notation, is an open-standard file format or data interchange format that uses human-readable text to transmit data objects consisting of attribute–value pairs and array data types.

Syntax for JSON objects and arrays is given briefly as below:

{ } - Object: A series of key:value pairs enclosed in a matched pair of curly brackets, with an opening left curly bracket and its matching right curly bracket.

[ ] - Array: A series of values (not key:value pairs) enclosed in a matched pair of square brackets, with an opening left square bracket and its matching right square bracket .

Key- value pairs inside objects: All key:value pairs inside an object conform to the earlier rules for key:value pairs.

Values inside arrays - All values conform to the earlier rules for formatting values (for example, double quotes around text, no quotes around numbers
































Previous    Contents    Next


CCNA Cram Notes Contents
certexams ad

simulationexams ad