JSON (JavaScript Object Notation)
Also: JSONJavaScript Object NotationJSON objectJSON objectsJSON arrayJSON Objects and Arraysjson objects arraysJSON arrays
A lightweight, human-readable data format built from objects ({ } with "key": value pairs, keys in double quotes) and arrays ([ ]). Values can be strings, numbers, booleans (true/false), null, objects or arrays, whitespace is insignificant, and it is the most common format for REST APIs.
NetworkChuck0
Not taught as a topic in NetworkChuck Free CCNA. Mentioned fewer than twice, if at all.
Jeremy's IT Lab3
- Day 60 JSON, XML, & YAML
JSON (JavaScript Object Notation)An open standard (RFC 8259), language-independent format that uses human-readable text to store and send data, and is often used by REST APIs. Whitespace is insignificant. It has four primitive types (string, number, boolean, null) and two structured types (object, array).
5:10Note that REST APIs often use JSON, which is why Cisco expects you to learn the basics of JSON for the CCNA exam. In JSON, whitespace is insignificant.
Said 63× - Day 59 Part 1 Intro to Network Automation
21:25…ich is a request for some data. The controller will reply with the requested data in a structured format like JSON or XML.
Said 4× - Day 61 REST APIs
23:17Here is that output. You should be familiar with the format, as I mentioned it’s JSON. So, by looking at this output we can learn about this device that is managed by the DNA center controller.
Said 4×
Related terms
Flashcards that test it
Jeremy's IT LabWhich data serialization language does CCNA exam topic 6.7 require you to interpret?
JSON. XML and YAML aren't named in that topic.
Jeremy's IT LabWhich RFC standardizes JSON, and what does JSON stand for?
RFC 8259. JSON stands for JavaScript Object Notation.
Jeremy's IT LabWhat are JSON's four primitive and two structured data types?
Primitive: string, number, boolean, null. Structured: object, array.
Jeremy's IT LabIn JSON, what data type is "true" (with quotes) vs true (without quotes)?
"true" is a string. true without quotes is a boolean. Booleans must be lowercase.
Jeremy's IT LabHow is a null value written in JSON?
null: lowercase, without quotes. "null" in quotes is just a string.
Jeremy's IT LabWhat are the formatting rules for a JSON object?
Curly brackets around an unordered set of key-value pairs. Keys must be strings in double quotes, a colon separates key and value, commas separate pairs, and there is no comma after the last pair.
Jeremy's IT LabWhat is a JSON array, and must its values be the same type?
A comma-separated series of values (not key-value pairs) in square brackets. The values can be different types, e.g. ["Hi", 5].
Jeremy's IT LabWhat is an object inside another JSON object called, and what is another name for a JSON object?
A nested object. A JSON object is also called a dictionary.