title: Parse the JSON syntax if it is not parsed well
body: <p>How do I parse the JSON data if it is not well parsed from newtonsoft json. Please refer my below code:</p>
  
  <pre><code>var web_uri = new Uri("www.example.com"); 
  var resp = await client2.GetAsync(web_uri); 
  var resp_to_str = await resp.Content.ReadAsStringAsync(); 
  var json_obj = Newtonsoft.Json.JsonConvert.DeserializeObject&lt;dynamic&gt;(resp_to_str);
  </code></pre>
  
  <p>Finally i parsed the JSON. now, it produces as expected.</p>
  
  <pre><code>   {
          "Sex": "Male",
          "category": "A",
          "ID": 14,
          "created": "2016-03-03",
          "Tag": "2340",
          "members": [{
              "type": "A",
              "name": "fam_mem",
              "state": "ca",
              "Family": {
                  "myGuardName": "tony",
                  "details": [{
                      "address": "ca",
                      "type": "A"
                  }]
              }
          }]
      }
  
  
  
    **RootObject omyclass = Newtonsoft.Json.JsonConvert.DeserializeObject&lt;RootObject&gt;(json_obj);** 
  </code></pre>
  
  <p>Now i am getting error at the above line:
  An exception of type 'Microsoft.CSharp.RuntimeBinder.RuntimeBinderException' occurred in System.Linq.Expressions.dll but was not handled in user code</p>
  
  <p>Additional information: The best overloaded method match for 'Newtonsoft.Json.JsonConvert.DeserializeObject(string)' has some invalid arguments</p>
  
  <pre><code>public class Detail
  {
      public string address { get; set; }
      public string type { get; set; }
  }
  
  public class Family
  {
      public string myGuardName { get; set; }
      public List&lt;Detail&gt; details { get; set; }
  }
  
  public class Member
  {
      public string type { get; set; }
      public string name { get; set; }
      public string state { get; set; }
      public Family Family { get; set; }
  }
  
  public class RootObject
  {
      public string Sex { get; set; }
      public string category { get; set; }
      public int ID { get; set; }
      public string created { get; set; }
      public string Tag { get; set; }
      public List&lt;Member&gt; members { get; set; }
  }
  
  TextBlock.Text = omyclass
  </code></pre>
  
  <p><strong>I have updated the question</strong></p>