code: public JSONArray asJSONArray()
      {
          if ( entity == null ) {
              return null;
          }
          String str = asString();
          try {
              return new JSONArray( str );
          } catch ( JSONException ex ) {
              throw new CStorageException( "Error parsing the JSON response: " + str, ex );
          }
      }
docs: Get the response as a json array
  
  @return The json value