title: Parsing json string of format {"rData":{"details":"abc123|val1|8de92ce|Item 1|val4"}
body: <p>i have json string {"rData":{"details":"abc123|val1|8de92ce|Item 1|val4"} in this format . how to parse the string and get particular value . 
   i have been trying this code but not working .</p>
  
  <pre><code>  JSONArray jArray=new JSONArray(result); 
   JSONObject json_data = jArray.getJSONObject(0);
   String val1=json_data.getString(1);
  </code></pre>