Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try to support loading arbitrary jackson modules #11

Merged
merged 4 commits into from
Mar 14, 2024
Merged

Conversation

pjfanning
Copy link
Owner

@pjfanning pjfanning commented Dec 12, 2023

Jacskon's DefaultScalaModule is added by default. To add extra ones, add something like this to your application.conf.

jackson-modules += "com.fasterxml.jackson.module.paramnames.ParameterNamesModule"

@pjfanning pjfanning marked this pull request as draft December 12, 2023 00:00
@pjfanning pjfanning marked this pull request as ready for review March 14, 2024 21:33
@pjfanning pjfanning merged commit a6ff2e9 into main Mar 14, 2024
2 checks passed
@pjfanning pjfanning deleted the jackson-modules branch March 14, 2024 22:02
@@ -245,6 +246,7 @@ lazy val library =
val circeGeneric = "io.circe" %% "circe-generic" % Version.circe
val circeParser = "io.circe" %% "circe-parser" % Version.circe
val jacksonModuleScala = "com.fasterxml.jackson.module" %% "jackson-module-scala" % Version.jacksonModuleScala
val jacksonModuleParamNames = "com.fasterxml.jackson.module" % "jackson-module-parameter-names" % Version.jacksonModuleScala

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you run scalafmt ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants