title: PARSE JSON (Encode base 64) STRING in Android
body: <pre><code>**$sql = 'select * from dish_category';
  $results =$conn-&gt;query($sql);
  $spots = array();  //array to parse jason from
  while($spot = $results-&gt;fetch_assoc()){
       $spots[] = $spot;                                                           
      }
  
      foreach($spots as $key=&gt;$value){
      $newArrData[$key] =  $spots[$key];
      $newArrData[$key]['Cat_Image'] = base64_encode($spots[$key]['Cat_Image']);
  }
  header('Content-type: application/json');
  echo json_encode($newArrData);**
  </code></pre>
  
  <p><strong>Above is the PHP code, it works perfectly fine and return JSON string, now i am confused how to parse image(decode base64) in android?</strong></p>