title: Deserialize JSON to Dictionary with DataContractJsonSerializer in Windows Phone
body: <p>I have a json string, for example </p>
  
  <pre><code>{"timestamp":1362463455, "features" : {"one":true, "two":false}}
  </code></pre>
  
  <p>I want to deserialize it with <code>DataContractJsonSerializer</code> to my class:</p>
  
  <pre><code>[DataContract]
  public class MyClass
  {
      [DataMember(Name = "timestamp")]
      public int Timestamp { get; set; }
  
      [DataMember(Name = "features")]
      public Dictionary&lt;string, bool&gt; Features { get; set; }
  }
  </code></pre>
  
  <p>But I have a error in process <code>"ArgumentException"</code>. I have a problems with deserialize <code>Dictionary</code>, if deserialize only timestamp then I don't have errors. I thought is dictionary most suitable structure for this. But it don't work. I checked <a href="https://stackoverflow.com/questions/14980973/deserialize-json-to-dictionary-with-datacontractjsonserializer">this answer on SO</a>, but <code>Dictionary&lt;string, object&gt;</code> don't work too. 
  Maybe because in example using:</p>
  
  <pre><code>DataContractJsonSerializerSettings settings =
          new DataContractJsonSerializerSettings();
  settings.UseSimpleDictionaryFormat = true;
  </code></pre>
  
  <p>But I can't use <code>DataContractJsonSerializerSettings</code> in Windows Phone.</p>
  
  <p>Sorry, if my question is double.  </p>
  
  <p>Thank advance.</p>