简体   繁体   中英

Using com.fasterxml.jackson.core.JsonParser as Jersey client serializer/deserializer?

Is it possible to use com.fasterxml.jackson.core.JsonParser as a serializer/deserializer for JSON data in Jersey client? and how if this is possible?

I think Jersey does this automatically if you include the following. Here are the gradle package needs for this:

compile 'org.glassfish.jersey.containers:jersey-container-servlet:2.28'

compile 'org.glassfish.jersey.media:jersey-media-json-jackson:2.23.1'

To My understanding jersey will then use the jackson serializer/ deserializer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM