How to use Json in asp.net 3.5?
4 answers
I am using JSON.NET ( http://www.codeplex.com/Json ) and I think it is a good library. Serialization is almost immediate:
string json = JsonConvert.SerializeObject(obj);
and vice versa:
JObject o = JObject.Parse(json);
+2
source to share
Since the specifics don't exist, the best I can do is point you to a fairly complete practical use of .NET 3.5 to serialize an object to JSON:
.NET 3.5: JSON Serialization Using DataContractJsonSerializer
+3
source to share
Rick Strahl has written some great blog posts on this subject.
Try this post for starters: http://www.west-wind.com/weblog/posts/164419.aspx
+1
source to share