title: Cannot deserialize xml string with Newtonsoft.Json.JsonConvert.DeserializeObject
body: <p>Hi I am passing an xml as string</p>
  
  <pre><code>&lt;AbcDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Abc"&gt;
    &lt;Id&gt;2&lt;/Id&gt;
    &lt;Description&gt;sample string 4&lt;/Description&gt;
    &lt;Name&gt;sample string 3&lt;/Name&gt;
    &lt;PolicyId&gt;c17f5b9f-c9bf-4a3a-b09b-f44ec84b0d00&lt;/PolicyId&gt;
    &lt;Status&gt;Active&lt;/Status&gt;
    &lt;TimeZoneId&gt;USCentral&lt;/TimeZoneId&gt;
  &lt;/AbcDto&gt;
  </code></pre>
  
  <p>When I am trying creating Custom Model Binder for Web Api</p>
  
  <pre><code>   public bool BindModel(System.Web.Http.Controllers.HttpActionContext actionContext, ModelBindingContext bindingContext)
          {
              var json = actionContext.Request.Content.ReadAsStringAsync().Result;
              if (!string.IsNullOrEmpty(json))
              {
                  var jsonObject = (JObject) Newtonsoft.Json.JsonConvert.DeserializeObject(json);
                  var jsonPropertyNames = jsonObject.Properties().Select(p =&gt; p.Name).ToList();
  </code></pre>
  
  <p>The json string passing as an parameter to the below method is an xml as string
  I am facing exception at Newtonsoft.Json.JsonConvert.DeserializeObject(json);
  Exception Details:
  Unexpected character encountered while parsing value: &lt;. Path '', line 0, position 0.</p>