How to Convert Java JERSEY Response object (which contains JSON ) to JAVA Class()

半城伤御伤魂 提交于 2019-12-13 03:43:03

问题


  1. 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();
    
  2. in Response JSON data is fetch which is as Follows:

     {"home_page":"/desk","message":"Logged In","full_name":"Shoaib Shaikh"}
    
  3. A HOW to access Different Fields of JSON
  4. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!