views:

140

answers:

1

Given json like this:

[["Rating (out of 5)","3"],["Date taken","Mon, 03 Mar 2003 03:04:03 GMT"]]

What is the best way to deserialize it into something like Dictionary<string, string> or should I be using a different data structure?

I'd probably prefer to use the .net Serializer but will consider other options if this wont work.

+5  A: 

Why not just use one of the many JSON parsers for C#.

Personally, I think Json.NET is very nice. It supports LINQ queries against JSON data, serialization to/from JSON, etc.

Reed Copsey