如何在VS 2010中解析C#中的JSON文件? [英] How to parse JSON file in C# in VS 2010?
问题描述
我获得了一个json文件的URL。如何解析VS2010中的文件?我只想安装Newtonsoft.Json,我刚安装了NuGet,版本'2.8.60318.667'是默认为VS2010的版本。所以,我收到一个错误,出现以下错误:
I am given an url that is a json file. How do I parse the file in VS2010? I just want to install Newtonsoft.Json, and I just installed NuGet, version '2.8.60318.667' is the one that is defaulted to VS2010. So, I received an error the following error:
Install-Package:'Newtonsoft.Json 10.0.3'软件包需要NuGet客户端版本'2.12'或更高版本,但当前的NuGet版本是'2.8.60318.667'。
Install-Package : The 'Newtonsoft.Json 10.0.3' package requires NuGet client version '2.12' or above, but the current NuGet version is '2.8.60318.667'.
如何解决这个问题?或者我可以使用任何其他方法来解析JSON文件吗?
How do I resolve this? Or can I use any other approach for parsing JSON file?
谢谢
Wanda
推荐答案
你不能去网站?
这篇关于如何在VS 2010中解析C#中的JSON文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!