Day 60 JSON
In YAML, [...] indicates a list.,
-
YAML files start with [...].,
---
What are the two JSON 'structured' data types?,
-object-array
What are the four JSON 'primitive' data types?
-string-number-boolean-null
What does XML stand for?,
Extensible Markup Language
Which data serialization languages are often used by REST APIs?,
JSON, XML
What does JSON stand for?,
JavaScript Object Notation
[serialization language] uses the <key>value</key> format.,
XML
[serialization language] files start with ---.,
YAML
What does YAML stand for?,
YAML Ain't Markup Language
A JSON [...] is a series of values.,
array
What kind of JSON data type is the value of this key-value pair?"key":["yes", "no"],
array
A JSON [...] can be true or false.,
boolean
What kind of JSON data type is the value of this key-value pair?"key":false,
boolean
In YAML, whitespace [is/isn't] significant.,
is
In JSON, whitespace [is/isn't] significant.,
isn't
In XML, whitespace [is/isn't] significant.,
isn't
YAML key-value pairs are represented as [...].,
key:value
A JSON [...] data type represents the intentional absence of any value.,
null
What kind of JSON data type is the value of this key-value pair?"key":null,
null
A JSON [...] is a numeric value.,
number
What kind of JSON data type is the value of this key-value pair?"key":5,
number
A JSON [...] is a list of key-value pairs.,
object
What kind of JSON data type is the value of this key-value pair?"key":{"interface":"gigabitethernet1/1"},
object
A JSON [...] is a text value.,
string
What kind of JSON data type is the value of this key-value pair?"key":"value",
string