Generic JSON parser in .NET / WPF?

Posted by niklassaers on Stack Overflow See other posts from Stack Overflow or by niklassaers
Published on 2009-12-03T15:22:07Z Indexed on 2012/10/30 11:02 UTC
Read the original article Hit count: 241

Filed under:
|
|
|

I've read lots of tutorials on how to deserialize a JSON object to an object of a particular using DataContractJsonSerializer. However, I'd like to deserialize my object to a Dictionary consisting of either Strings, Arrays or Dictionaries, such as System.Json does with SilverLight when I say JsonObject.Parse(myJSONstring).

Is there an equivalent to System.Json that I can use in my WPF project?

(just a short background: I'm fetching JSON objects that have way to much info, and I just want to use a little bit to fill out a String array)

Cheers

Nik

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET