title: How to get object from ASP WebClient response
body: <p>Here is the code I have currently:</p>
  
  <pre><code>var response = Encoding.ASCII.GetString(wb.UploadValues("URL", "POST", data));
  </code></pre>
  
  <p>response becomes:</p>
  
  <pre><code>"{\n  \"success\": false,\n  \"error-codes\": [\n    \"invalid-input-response\"\n  ]\n}"
  </code></pre>
  
  <p>How can I turn the response into a normal C# object. I mean, I realize that I can parse this string, remove all the \n and then deserialize the JSON but there must be an easier way to understand a WebClient response...</p>