对象(map):键值对的集合
person:
name: zhangsan
# 行内写法
person:{name:zhangsan}
数组:一组按次序排序的值
address:
-beijing
-shanghai
#行内写法
address:[beijing,shanghai]
纯量:单个、不可再分的
msg1: 'hello \n word'#单引忽略转义字符
msg2: "hello \n word"#双引识别转义字符
参数引用:
name:lisi
person:
name: ${name} #lisi