convert json string into array or object...

Posted by qulzam on Stack Overflow See other posts from Stack Overflow or by qulzam
Published on 2010-05-29T12:35:28Z Indexed on 2010/05/29 12:42 UTC
Read the original article Hit count: 193

Filed under:
|
|

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.
All types of answer are welcome.

© Stack Overflow or respective owner

Related posts about c#

Related posts about JSON