问题
How to Convert Response Object (Java JERSEY ) which contains JSON to JAVA Class()
Client client =ClientBuilder.newClient(); WebTarget target= client.target("https://shoa.enext.com/api/resource/Sales%20Invoice"); Response response = target.request().get();
in Response JSON data is fetch which is as Follows:
{"home_page":"/desk","message":"Logged In","full_name":"Shoaib Shaikh"}
- A HOW to access Different Fields of JSON
- How to convert/parse this JSON Data Into Java Class and
来源:https://stackoverflow.com/questions/46894972/how-to-convert-java-jersey-response-object-which-contains-json-to-java-class