SpringMVC JACKSON deserialize JSON essence statement

Type paramType = types[i];
Class contextClass = method.getDeclaringClass();
JavaType realJavaType = mapper.getTypeFactory().constructType(paramType);
values[i] = mapper.readValue(argment.toString(), realJavaType);

//Focus class: MappingJackson2HttpMessageConverter

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327026077&siteId=291194637