Full form: JavaScript Object Notation
Also known as: JavaScript Object Notation
Quick Definition
A lightweight, human-readable data format used to exchange data between APIs and automation tools.
JSON is the most common data format used in network automation and REST APIs. It represents data as key-value pairs, arrays, and nested objects. Cisco devices and controllers use JSON in API responses and configuration payloads. Understanding JSON structure is required for reading API responses and writing automation scripts using Python or Ansible.
{ "interface": "GigabitEthernet1", "ip": "192.168.1.1", "mask": "255.255.255.0", "enabled": true }
JSON uses double quotes for keys and string values (not single quotes). Boolean values are true/false (lowercase), not True/False. The CCNA exam may present a JSON snippet and ask you to identify a specific value.
JSON is the most common data format used in network automation and REST APIs. It represents data as key-value pairs, arrays, and nested objects. Cisco devices and controllers use JSON in API responses and configuration payloads. Understanding JSON structure is required for reading API responses and writing automation scripts using Python or Ansible.
JSON uses double quotes for keys and string values (not single quotes). Boolean values are true/false (lowercase), not True/False. The CCNA exam may present a JSON snippet and ask you to identify a specific value.
{ "interface": "GigabitEthernet1", "ip": "192.168.1.1", "mask": "255.255.255.0", "enabled": true }
JSON falls under the Automation domain of the 200-301 exam. Understanding it in context with related terms like rest-api and sdn is essential for answering scenario-based questions correctly.