How to deserialize YAML with YAMLDotNet?
问题 I want to deserialize this YAML with YAMLDotNet. It have sequence and nested mapping. data.yml people: - name: "John" age: 20 - name: "Michael" age: 21 - name: "William" age: 22 network: address: "192.168.1.1" port: 1234 param: paramNumber: 10 paramString: "text data" paramBool: true This is my code. But, It can't compile. I would like to know the following two things. How to define class to decerialize nested mapping? How to access it? Print Deserialized Data DeserializedObject obj =