2

Can someone please give some fair idea about how to use JSON?

2

4 Answers 4

3

Since there are no specifics, the best I can do is point you to a fairly complete how-to using .NET 3.5 to serialize an Object to JSON:

.NET 3.5: JSON Serialization using the DataContractJsonSerializer

Sign up to request clarification or add additional context in comments.

Comments

2

I use JSON.NET (http://www.codeplex.com/Json) and I think it's a good library. The serialization is almost immediate:

string json = JsonConvert.SerializeObject(obj);

and vice versa:

JObject o = JObject.Parse(json);

Comments

1

Rick Strahl has written several excellent blog posts on the subject.

Try this post for starters: http://www.west-wind.com/weblog/posts/164419.aspx

Comments

0

Heres a Sample of using JSON in ASP.NET.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.