How to Convert Json String into DataTable in ASP.Net with C#
<p>I am using <a href="http://manage.directi.com/kb/answer/764" rel="nofollow">this API</a>. It gives json output according to user input. For Example:</p>

<pre><code>{
"apple.com":{"status":"regthroughothers","classkey":"domcno"},
"asdfgqwx.com":{"status":"available","classkey":"domcno"},
"microsoft.org":{"status":"unknown"},
"apple.org":{"status":"unknown"},
"microsoft.com":{"status":"regthroughothers","classkey":"domcno"},
"asdfgqwx.org":{"status":"unknown"}
}
</code></pre>

<p>Now I want to change this json output in dataTable and then Bind in Data Control like Gridview and repeater.</p>

<p>I am using <a href="http://www.c-sharpcorner.com/blogs/convert-json-string-to-datatable-in-asp-net1" rel="nofollow">this method</a> to do this but when I passed above json output in this method , It throws an Error</p>

<blockquote>
  <p>Unexpected JSON token when reading DataTable. Expected StartArray, got StartObject. Path '', line 1, position 1.</p>
</blockquote>