I want to convert byte
to JsonObject
. I tried like this:
public void onSuccess(int statusCode, Header[] headers, byte[] responseBody) { String testV=new JsonObject(new String(responseBody));}
But I am getting compiler error:
JsonObject cannot be applied to java.lang.String
How can I do this?