对象
- 使用对象键值对
|
|
-
当对象较复杂,比如为数组时
-
问号加一个空格代表一个复杂的 key
-
一个冒号加一个空格代表一个 value
|
|
数组
- 以
-
开头的行表示一个数组
|
|
- 支持多维数组
|
|
- 很多元素$\rightarrow$数组元素$\rightarrow$数组
- 例子
|
|
复合结构
- 例
|
|
纯量
定义
最基本、不可再分的值
分类
- 字符串
|
|
- 布尔值
|
|
- 整数和浮点数
|
|
- Null
|
|
- 日期
|
|
- 时间
|
|