tags:

views:

37

answers:

1

I get some json data form the web which is like:

[{"pk": 1, "model": "stock.item", "fields": {"style": "f/s", "name": "shirt", "color": "red", "sync": 1, "fabric_code": "0012", "item_code": "001", "size": "34"}}, {"pk": 2, "model": "stock.item", "fields": {"style": "febric", "name": "Trouser", "color": "red", "sync": 1, "fabric_code": "fabric code", "item_code": "0123", "size": "44"}}]

How can i use it in the C# winforms desktop application. I already get this data in the form of string.
Edit:
I also try to use this way..

JavaScriptSerializer ss = new JavaScriptSerializer();
object itm = ss.DeserializeObject(responseFromServer);

It returns 'System.Object[]' but i also dont know that how i can use this.
All types of answer are welcome.

+1  A: 

I think what your after is JSON.NET

Sir Psycho