將JSON反序列化爲C#動態對象? - Deserialize JSON into C# dynamic object?

問題:

Is there a way to deserialize JSON content into a C# 4 dynamic type? 有沒有辦法將JSON內容反序列化爲C#4動態類型? It would be nice to skip creating a bunch of classes in order to use the DataContractJsonSerializer. 跳過建立一堆類以使用DataContractJsonSerializer會很好。 spa


解決方案:

參考一: https://stackoom.com/question/DBVP/將JSON反序列化爲C-動態對象
參考二: https://oldbug.net/q/DBVP/Deserialize-JSON-into-C-dynamic-object
相關文章
相關標籤/搜索