0

Ruby's Hash is converted to json like this

{ "key1" : {value1}, "key2" : {value2} ... }

How can I convert this Json to C# object? Have no idea.

Update1:

It seems like Json.NET can handle this scenario: http://james.newtonking.com/projects/json/help/

Update 2:

The same question: How can I deserialize JSON to a simple Dictionary<string,string> in ASP.NET?

Community
  • 1
  • 1
Pavel Voronin
  • 13,503
  • 7
  • 71
  • 137

0 Answers0