In Java, how to convert a String to JSON Object?
<p>The string is like so:</p>

<pre><code>[{"Id":287,"Name":"aaaaaaaa","ProjectType":"GP"}, ... snip ...]
</code></pre>

<p>This STRING is not JSON yet since it is a string even though it was served up as JSON.</p>

<p>I am trying to convert that to a structure that I can work with in my Java app.</p>

<p>Can somebody help me out here. The examples I've found so far didn't work out for me. Basically, I was hoping to be able to iterate over the Dictionaries that are within the List.</p>

<p>My latest attempt to convert the string into a json, was this:</p>

<pre><code>JSONObject data = new JSONObject(json_string);
</code></pre>

<p>This, however, returned <code>null</code>.</p>

<p>Thank you.</p>
