简体   繁体   English

使用JObject需要什么库名?

[英]What is the library name needed to use JObject?

I need to use JObject. 我需要使用JObject。

The question is where i can find dll for this case and what must to appear in using i want to write something like: 问题是我可以在哪里找到这个案例的dll以及在使用中必须出现的内容我想写下这样的内容:

JObject obj = (JObject)JsonConvert.DeserializeObject(s);

It's in the Newtonsoft.Json.Linq namespace. 它位于Newtonsoft.Json.Linq命名空间中。 You should just need the Newtonsoft.Json.DLL. 你应该只需要Newtonsoft.Json.DLL。

您正在寻找James Newton-King撰写的JSON.NET

You can try this link http://www.newtonsoft.com/json and download it 您可以尝试此链接http://www.newtonsoft.com/json并下载它

OR You can you the Nuget command line in the visual studio that will install it for you. 或者您可以在Visual Studio中为您安装Nuget命令行。 If you want to try it here is the command you have to run: https://www.nuget.org/packages/Newtonsoft.Json/7.0.1-beta3 如果你想在这里尝试它是你必须运行的命令: https//www.nuget.org/packages/Newtonsoft.Json/7.0.1-beta3

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM