yaml基本语法

# yaml对空格敏感且严格

# 对象
User:
  name: xxx
  age: 18
  school: Tqinghua
  
# 对象行内
User: {name: xxx,age: 18,school: Tqinghua}

# 数组
pets:
  - cat
  - dog
  - duck
posted @ 2023-08-06 19:35  遥遥领先  阅读(4)  评论(0编辑  收藏  举报