问题:
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?