更新时间:2023-01-17 16:34:48
您想在这里看看: http://www.newtonsoft.com/json/help/html/deserializeobject.htm
创建具有与XML相同结构的类.然后,变量s
是此类的实例,您可以将json反序列化为类结构.
Create a class with the same structure like your XML. Then your variable s
is an instance of this class and you can deserialize the json to the class structure.
在您的情况下,您的财产应为s.dialog.prompt
.
In your case your property should be s.dialog.prompt
.