How to get Json values using its key in java?
<p>I have JSON array like given below. How to get the values based on its keys?  </p>

<pre><code>$&gt; 

[{Work
&gt; Group=[{"id":"wNUvBiv5tQDFphP3zITN5NDEqyXJM8W2","errRsn":["Response
&gt; time from Sweden exceeded 1500 ms."],"ap":"100.0
&gt; %","status":"Trouble","name":"Site24x7","rsptime":"1549
&gt; ms","downs":"0","tDwn":"5 Hrs 50 Mins
&gt; ","conf":"no","mtype":"URL","monitorid":"2c2d1ba5b57d9c1be8fcae5522b5bb9f","lsDur":"-","lsDwn":""},{"id":"wNUvBiv5tQB1kKQSZBij\/b8FU++kkoRh","ap":"100.0
&gt; %","status":"Up","name":"Site24x7 WPA","rsptime":"424
&gt; ms","downs":"0","conf":"no","mtype":"HOMEPAGE","monitorid":"58e79381158d85e8eb944ec5506db09a","lsDur":"-"},{"id":"wNUvBiv5tQD\/DIkhHWufnTRJzbcIgZk4","rspvalue":"-","downReason":"Unknown
&gt; Host","status":"Down","name":"Site24x7","tDwn":"62 days 17 Hrs 7 Mins
&gt; ","conf":"yes","mtype":"PORT","monitorid":"6cacfbf47ad21d824006be1168efc3c6","lsDwn":"2012-09-18"},{"id":"wNUvBiv5tQCBw1RAuk0Q2P1FZPxXxMr1","downReason":"Trouble
&gt; invoking
&gt; url(https:\/\/www.site24x7.com\/login\/UserAction.do?execute=checkConfirmedAccount).&lt;br\/&gt;Internal
&gt; Server Error","ap":"0.0 %","status":"Down","name":"Web App
&gt; Monitor","rsptime":"- ms","downs":"1","tDwn":"151 days 19 Hrs 8 Mins
&gt; ","conf":"no","mtype":"URL-SEQ","monitorid":"6d887f7adeba3801b1313a4b7e0997c8","lsDur":"1
&gt; days 0 Hrs 0 Mins ","lsDwn":"2012-06-21"}]}]
</code></pre>
