title: simple way to convert byte array to JSONArray
body: <p>I have a byte array which was converted from a JSONArray. Now how to convert it back to JSONArray. Is there any simple lib to do this. Or do i have to use base64 as <a href="https://stackoverflow.com/questions/20706783/put-byte-array-to-json-and-vice-versa">this</a> post says? Here is the code to convert JSONArray to bytearray:</p>
  
  <pre><code>JSONArray arr = //some value;
  byte[] bArr = arr.toString().getBytes();
  </code></pre>