title: JSON string to dictionary object error
body: <p>I have the below code in my C# program where I need to convert a json structure to a dictionary. </p>
  
  <pre><code>string json = @"[{""id"":""51851"",""name"":""test {""id"":""527"",""name"":""test1""}]"; 
      var json_serializer = new JavaScriptSerializer();
      Dictionary&lt;string, object&gt; dictionary = json_serializer.Deserialize&lt;Dictionary&lt;string, object&gt;&gt;(json);
  </code></pre>
  
  <p>while running this, I am getting the below error.</p>
  
  <pre><code>Type 'System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]]' is not supported for deserialization of an array.
  </code></pre>
  
  <p>Can anyone help me to figure out what wrong in this?</p>