I am converting InputStream to JSONObject using following code. My question is, is there any simple way to convert InputStream to JSONObject. Without doing InputStream -> Bu
InputStream inputStreamObject = PositionKeeperRequestTest.class.getResourceAsStream(jsonFileName); JSONObject jsonObject = new JSONObject(IOUtils.toString(inputStreamObject));