You must Sign In to post a response.

The name 'JsonConvert' does not exist in the current context

HI

what should this error mean and how do I fix it
The name 'JsonConvert' does not exist in the current context

XmlDocument doc = (XmlDocument)JsonConvert.DeserializeXmlNode(json,"root");
objBLL.insert_XMLEducation(doc, Convert.ToInt64(ui.id));

Thanks
Smitha


Comments

Author: Anil Kumar Pandey01 Jun 2011 Member Level: Diamond   Points : 2

You need to add the name space in the application to use the JASON service. The name space is.


using Newtonsoft.Json;


or the other DLL you are using.

Author: Kalidasu Surada01 Jun 2011 Member Level: Silver   Points : 0

Hi,

Please find the below link that will help you.

http://james.newtonking.com/projects/json/help/html/T_Newtonsoft_Json_JsonConvert.htm

Thanks,
-Kalidasu.


Sign In to post your comments