問題:
I started to use Json.NET to convert a string in JSON format to object or viceversa.我開始使用 Json.NET 將 JSON 格式的字符串轉換爲對象,反之亦然。 I am not sure in the Json.NET framework, is it possible to convert a string in JSON to XML format and viceversa?我不確定在 Json.NET 框架中,是否可以將 JSON 中的字符串轉換爲 XML 格式,反之亦然?
解決方案:
參考一: https://stackoom.com/question/3Pl3參考二: How to convert JSON to XML or XML to JSON?