杰克逊 2.0 与 Spring 3.1 [英] Jackson 2.0 with Spring 3.1

查看:20
本文介绍了杰克逊 2.0 与 Spring 3.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Spring MVC 3.1 是否与 Jackson 2.0 兼容?Spring MVC 在类路径上自动检测 Jackson 以及将具有 JSON 内容类型的请求委托给 Jackson 是否仍然有效?

Is Spring MVC 3.1 compatible with Jackson 2.0? Will Spring MVC's automatic detection of Jackson on the classpath, and delegation to Jackson for requests with a JSON content-type still work?

推荐答案

Spring 3.2 中添加了对 Jackson 2 的支持,并且还向后移植到 Spring 3.1.2 (SPR-9507)

Support for Jackson 2 has been added in Spring 3.2, and has also backported to Spring 3.1.2 (SPR-9507)

这篇关于杰克逊 2.0 与 Spring 3.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆