title: Json DeserializeObject error
body: <p>Im getting this error on deserializing </p>
  
  <pre><code>"Could not cast or convert from System.String to MAP.Models.Test"
  </code></pre>
  
  <p>1) I'm serializing in one side</p>
  
  <pre><code>Test test = new Test();
  
  string Json = await Task.Factory.StartNew(() =&gt; JsonConvert.SerializeObjectAsync(test)).Result;
  </code></pre>
  
  <p>and json variable looks like this: </p>
  
  <pre><code>"[{\"Id\":1,\"Device\":1,\"Script\.......
  </code></pre>
  
  <p>2) on the other side (silverlight 5 app) I'm getting the request using WebResponse response = await request.GetResponseAsync())</p>
  
  <p>and the response json looks like this:</p>
  
  <pre><code>"\"{\\\"Id\\\":1,\\\"Device\\\":1,\\\"Script\\...
  </code></pre>
  
  <p>when calling deserialization I get the error</p>
  
  <pre><code>var des = JsonConvert.DeserializeObject(json, typeof(Test)) as Test;
  </code></pre>
  
  <p>My class:</p>
  
  <pre><code>class Test
  {
      [JsonProperty("Device")]
      public int Device { get; set; }
  
  }
  </code></pre>
  
  <p>Any ideas what can be wrong and why on the other side json looks different?</p>