title: Problem deserializing a response from USPS CityStateLookup with Newtonsoft.Json.JsonConvert.DeserializeObject
body: <p>I'm attempting to parse a response from the USPS CityStateLookup API and I don't appear to be modelling it properly, as I'm getting an "{"Unexpected character encountered while parsing value: &lt;. Path '', line 0, position 0."}" while parsing" error right at the beginning of the DeserializeObject call</p>
  
  <p>My code is:</p>
  
  <pre><code>Class CityStateLookupResponse
      Property ZipCodeList As List(Of ZipCode)
  End Class
  
   Class ZipCode
      Property Zip5 As String
      Property City As String
      Property State As String
   End Class
  
  
  Private Async Function GetCityStateFromZipAsync(byval Zip5Code as string) as threading.tasks.task(of CityStateLookupResult)
  
   Dim result As New CityStateLookupResponse
  
   Dim client As New HttpClient() With {
          .BaseAddress = New Uri("http://production.shippingapis.com/ShippingAPI.dll")
      }
  
      Dim arguments As String = "?API=CityStateLookup&amp;XML=&lt;CityStateLookupRequest USERID=""{0}""&gt;&lt;ZipCode ID= ""{1}""&gt;&lt;Zip5&gt;{2}&lt;/Zip5&gt;&lt;/ZipCode&gt;&lt;/CityStateLookupRequest&gt;"
      arguments = String.Format(arguments, "&lt;My User ID&gt;", 0, Zip5Code)
  
      response = Await client.GetAsync(arguments)
  
      If Not response.IsSuccessStatusCode Then
          Return result
      End If
  
      myContent = Await response.Content.ReadAsStringAsync
  
      ' vvvv  THIS IS THE ERROR LINE  vvvv
      result = Newtonsoft.Json.JsonConvert.DeserializeObject(Of CityStateLookupResponse)(myContent) 
  end function
  </code></pre>
  
  <p>The returned XML for the same API call in a browser is:</p>
  
  <pre><code>&lt;CityStateLookupResponse&gt;
      &lt;ZipCode ID="0"&gt;
          &lt;Zip5&gt;55016&lt;/Zip5&gt;
          &lt;City&gt;COTTAGE GROVE&lt;/City&gt;
          &lt;State&gt;MN&lt;/State&gt;
       &lt;/ZipCode&gt;
   &lt;/CityStateLookupResponse&gt;
  </code></pre>
  
  <p>What am I doing wrong in the class definition for CityStateLookupResponse? (Or is there a better way to go about this altogether?)</p>