Click here to Skip to main content
15,893,161 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,


I want to implement json serialization in my project(c# windows application).i dont have experience in this.Any body can help me with sample code asap..
Posted
Updated 7-Sep-12 0:32am
v2

1 solution

go through below link this will help you

JSON Serialization and Deserialization in ASP.NET[^]
 
Share this answer
 
Comments
vanithakps 12-Sep-12 5:45am    
Hi, Thanks for ur reply. Problem in my serialization is the object which i am going to serialize is having string,int,hashtable and XMLdocument.i am receiving error like "XmlNodeConverter only supports deserializing XmlDocuments" i think this is becasuse of xml document.i want know whether this is possible to serialize this object or not..If no how to do that..thanks in advance. this is my code jsonstr = JsonConvert.SerializeObject(result, Newtonsoft.Json.Formatting.Indented); Content result= JsonConvert.DeserializeObject<content>(jsonstr);

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900