1.将json转换成java对象
JSONObject.parseObject(String,MyClassDto.class)
注解:
String是一个json格式的字符串。
MyClassDto是想要转化成的对象。