Working with JSON in C# .NET 3.5

后端 未结 3 1256
执念已碎
执念已碎 2021-01-07 04:37

I have found some helper method that allow me to convert an object to JSONM and JSON to an object. Now I am reading in a json file that looks something like this:



        
3条回答
  •  迷失自我
    2021-01-07 05:21

    Download Json.NET. That handles JSON better than anything else I've seen for .NET. I think the Json serializer will do what you're asking.

    Also, take a look at the related questions over there on the right. I do believe you'll find the answer there.

提交回复
热议问题