JSOn.Net library JsonConvert
Posted
by ozsenegal
on Stack Overflow
See other posts from Stack Overflow
or by ozsenegal
Published on 2010-04-19T17:31:24Z
Indexed on
2010/04/19
17:33 UTC
Read the original article
Hit count: 527
json.net
I'm using http://json.codeplex.com library.Im trying to convert XML to JSON and vice-versa.
However they have an example,using "JsonConvert" class
XmlDocument doc = new XmlDocument();
doc.LoadXml(xml);
string jsonText = JsonConvert.SerializeXmlNode(doc);
I cant find "JsonConvert" in namespace "Newtonsoft.Json".Only class i've found is "JavaScriptConvert".
Any ideas?
© Stack Overflow or respective owner