Forum Stats

  • 3,872,820 Users
  • 2,266,482 Discussions
  • 7,911,332 Comments

Discussions

Can OCI Java SDK configured to use "jackson-provider" instead of the built-in "media-jackson"?

Here are more details:

  1. The web app is using DropWizard, which uses "jackson-provider" Json serializer by default.
  2. This web app have "com.oracle.oci.sdk:oci-java-sdk-secrets" OCI dependencies to make SDK calls.
  3. But OCI SDK uses "media-jackson" library to make REST calls in above module.
  4. This is causing conflict as "media-jackson" configuration is overriding the "jackson-provider". This is causing custom Json serializer by passed.

Is it possible to customize OCI SDK configuration to use "jackson-provider" instead of using the built-in serializer? Or any work around to resolve this issue ?

Thanks

Tagged: