Java: Json library to map json data to java bean.
As beanutil's describe and populate method is there any java library which takes input json object and respective java bean and map json data into java bean ?
I use gson
Gson gson = new Gson();
MyJavaBean bean = gson.fromJson(strJson,MyJavaBean.class);
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.