package modules
Ordering
- Alphabetic
Visibility
- Public
- Protected
Type Members
- class ScalaObjectMapperModule extends TwitterModule
TwitterModule to configure Jackson object mappers.
TwitterModule to configure Jackson object mappers. Extend this module to override defaults or provide additional configuration to the bound ScalaObjectMapper instances.
Example:
import com.fasterxml.jackson.databind.{ DeserializationFeature, Module, ObjectMapper, PropertyNamingStrategy } import com.twitter.finatra.jackson.modules.ScalaObjectMapperModule object MyCustomObjectMapperModule extends ScalaObjectMapperModule { override val propertyNamingStrategy: PropertyNamingStrategy = new PropertyNamingStrategy.KebabCaseStrategy override val additionalJacksonModules: Seq[Module] = Seq(MySimpleJacksonModule) override def additionalMapperConfiguration(mapper: ObjectMapper): Unit = { mapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, true) } }
- class YamlScalaObjectMapperModule extends ScalaObjectMapperModule
com.twitter.inject.TwitterModule to configure Jackson YAML object mappers.
com.twitter.inject.TwitterModule to configure Jackson YAML object mappers. Extend this module to override defaults or provide additional configuration to the bound ScalaObjectMapper instances.
- See also
com.fasterxml.jackson.dataformat.yaml.YAMLFactory
Value Members
- object ScalaObjectMapperModule extends ScalaObjectMapperModule
- object YamlScalaObjectMapperModule extends YamlScalaObjectMapperModule