Add support of Jackson in Jersey

If Jackson is configured for the project, the `ObjectMapper` is now
reused and added in the Jersey's context.

Closes gh-4131
This commit is contained in:
Eddú Meléndez
2015-10-14 14:04:47 -05:00
committed by Stephane Nicoll
parent 410dedc567
commit 5776d6a8d7
5 changed files with 361 additions and 0 deletions

View File

@@ -130,6 +130,11 @@
<artifactId>jersey-spring3</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>commons-dbcp</groupId>
<artifactId>commons-dbcp</artifactId>