1.将json字符串转成对应的实体对象
eg: ModifyPriceVO modifyPriceVO = JSON.parseObject(applicationDO.getObject(),ModifyPriceVO.class);
2.JSON类之toJSONString()方法,实现json对象转化为json字符串
3.JsonObject json = new JsonObject();
json.getArray(“key”);
json.getInteger(“key”);
fastjson常使用操作
猜你喜欢
转载自blog.csdn.net/Arry_Coding/article/details/102519749
今日推荐
周排行