From the course: Cisco CCNA (200-301) Cert Prep: 3 Security, Automation, and Programmability
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
Interpreting JSON
From the course: Cisco CCNA (200-301) Cert Prep: 3 Security, Automation, and Programmability
Interpreting JSON
- [Greg] Sysco really wants engineers to be familiar with JavaScript object notation, or JSON. So I'm going to dig a little deeper. First, I'll simply take a look at a JSON reply from DNA center. It's actually fairly easy to read, as they are broken down into key, then colon, then key pairs. So host name is then followed by the router's host name. Whenever I see a colon, I know it represents a single key pair. The key is the quoted text before the colon. The key is the name that references a value. The value is the quoted data returned after the colon. This could be a text string value that's double quoted, a numeric value without quotes, an array, which is a special variable that contains many values, or an object. When more than one key pair is returned, each will be separated by a comma. Anything contained within curly braces is considered an object. Within this object can be one or a series of key pairs. Values enclosed within square brackets are part of an array. An example of an…
Contents
-
-
-
-
Networking planes2m 46s
-
(Locked)
Software-defined networking (SDN)3m 46s
-
(Locked)
Automation's impact2m 27s
-
(Locked)
Software-Defined Access (SDA) underlay3m 8s
-
(Locked)
SDA overlay2m 22s
-
(Locked)
DNS Center and SDA2m 11s
-
(Locked)
REST APIs4m 30s
-
(Locked)
Interpreting JSON1m 21s
-
(Locked)
Puppet, Chef, and Ansible6m 3s
-
-