java - How to convert String to JsonObject -
i using httprequest
json web string.
it quite simple, cannot seem convert string javax.json.jsonobject
.
how can this?
jsonreader jsonreader = json.createreader(new stringreader("{}")); jsonobject object = jsonreader.readobject(); jsonreader.close();
Comments
Post a Comment