I am using a httprequest
to get Json from a web into a string.
It is probably quite simple, but I cannot seem to convert this string to a javax.json.JsonObject
.
How can I do this?
I am using a httprequest
to get Json from a web into a string.
It is probably quite simple, but I cannot seem to convert this string to a javax.json.JsonObject
.
How can I do this?
Since the above reviewer didn't like my edits, here is something you can copy and paste into your own code:
See docs and examples.