//首先获取前端传递过来的参数对象“shopping”,转化成Object
Object object = requestObject.get("shopping");
//创建ObjectMapper
ObjectMapper objectMapper = new ObjectMapper();
//强制转化成目标对象
Shopping shopping = objectMapper.convertValue(object, Shopping.class);