title: JSON Parse Error (Windows 8)
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/10951466/jsonarray-parse-error">JsonArray.Parse(…) error</a>  </p>
  </blockquote>
  
  
  
  <p>I am developing a manga information app for Windows 8 (in C#, XAML). I'm receiving information from a public web API (<a href="http://www.mangaeden.com/api/list/0/" rel="nofollow noreferrer">http://www.mangaeden.com/api/list/0/</a>) which I'll use in my app accordingly. I can receive the JSON string effectively but I cannot parse it correctly and I don't know what exactly is wrong with it. The error that comes up is "Invalid JSON string" but when I check on <a href="http://jsonlint.com/" rel="nofollow noreferrer">http://jsonlint.com/</a> it's a validated JSON String. </p>
  
  <p>Everytime I run the code I get the following error:</p>
  
  <p>Invalid character at position 0</p>
  
  <p>Here is my code:</p>
  
  <pre><code>//Receive JSON String from MangaEden Website
  var client = new HttpClient();
  client.MaxResponseContentBufferSize = Int32.MaxValue;
  var response = await client.GetAsync(new Uri("http://www.mangaeden.com/api/list/0/"));
  var result = await response.Content.ReadAsStringAsync();
  
  //
  // Parse the JSON data
  //
  var manga = JsonArray.Parse(result);
  </code></pre>