I need to navigate a Json structure as I would navigate an XML using XmlDocument
.
The structure is not known, and I need to iterate over the nodes to parse some data.
Is this possible?
I know I can use JavaScriptSerializer
to deserialize it into a known type, but this is not the case as I can receive any valid json.
I'm using .NET 3.5 (SP1) and cannot upgrade to 4.0 at the moment.
I upgraded to .NET 4.0 to use dynamic types (which is awesomeness made code)