can we distinguish string/int value in yaml file using yaml BaseLoader?

前端 未结 0 1154
北荒
北荒 2021-01-05 15:17

I have a yaml file with the following data:

apple: 1
banana: \'2\'
cat: "3"

My project is parsing it using Python(yaml.BaseLoader)

相关标签:
回答
  • 消灭零回复
提交回复
热议问题