I am using a httprequest to get Json from a web into a string.
httprequest
It is probably quite simple, but I cannot seem to convert this string to a javax.js
javax.js
JsonReader jsonReader = Json.createReader(new StringReader("{}")); JsonObject object = jsonReader.readObject(); jsonReader.close();
See docs and examples.