(Since version 2019-11-19) Use ScalaObjectMapper.camelCaseObjectMapper(underlying)
When not using injection, this factory method can be used but be aware that only default com.fasterxml.jackson.databind.InjectableValues are supported via this instantiation when given a non-null com.google.inject.Injector.
When not using injection, this factory method can be used but be aware that only
default com.fasterxml.jackson.databind.InjectableValues are supported via this
instantiation when given a non-null com.google.inject.Injector. By default only
com.fasterxml.jackson.databind.InjectableValues provided by the object graph
is supported during deserialization (case class fields annotated with @Inject
)
when provided a non-null Injector.
a new FinatraObjectMapper instance
(Since version 2019-10-10) Use com.twitter.finatra.jackson.ScalaObjectMapper.apply(injector)
the preferred way of obtaining a FinatraObjectMapper is through injection using the FinatraJacksonModule.
com.fasterxml.jackson.databind.InjectableValues
(Since version 2019-11-19) Use ScalaObjectMapper.snakeCaseObjectMapper(underlying)
(Since version 2019-10-10) Use com.twitter.finatra.jackson.ScalaObjectMapper