Packages

object ScalaObjectMapper

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaObjectMapper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class Builder extends Product with Serializable

    A Builder for creating a new ScalaObjectMapper.

    A Builder for creating a new ScalaObjectMapper. E.g., to build a new instance of a ScalaObjectMapper.

    For example,

    ScalaObjectMapper.builder
      .withPropertyNamingStrategy(new PropertyNamingStrategies.UpperCamelCaseStrategy)
      .withNumbersAsStrings(true)
      .withAdditionalJacksonModules(...)
      .objectMapper

    or

    val builder =
      ScalaObjectMapper.builder
        .withPropertyNamingStrategy(new PropertyNamingStrategies.UpperCamelCaseStrategy)
        .withNumbersAsStrings(true)
        .withAdditionalJacksonModules(...)
    
      val mapper = builder.objectMapper
      val camelCaseMapper = builder.camelCaseObjectMapper

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(underlying: JacksonScalaObjectMapperType): ScalaObjectMapper

    Creates a new ScalaObjectMapper from an underlying JacksonScalaObjectMapperType.

    Creates a new ScalaObjectMapper from an underlying JacksonScalaObjectMapperType.

    underlying

    the JacksonScalaObjectMapperType to wrap.

    returns

    a new ScalaObjectMapper

    Note

    this mutates the underlying mapper to configure it with the ScalaObjectMapper defaults.

  5. def apply(): ScalaObjectMapper

    Returns a new ScalaObjectMapper configured with Builder defaults.

    Returns a new ScalaObjectMapper configured with Builder defaults.

    returns

    a new ScalaObjectMapper instance.

    See also

    com.fasterxml.jackson.databind.InjectableValues

  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def builder: Builder

    Build a new instance of a ScalaObjectMapper.

    Build a new instance of a ScalaObjectMapper.

    For example,

    ScalaObjectMapper.builder
     .withPropertyNamingStrategy(new PropertyNamingStrategies.UpperCamelCaseStrategy)
     .withNumbersAsStrings(true)
     .withAdditionalJacksonModules(...)
     .objectMapper

    or

    val builder =
     ScalaObjectMapper.builder
       .withPropertyNamingStrategy(new PropertyNamingStrategies.UpperCamelCaseStrategy)
       .withNumbersAsStrings(true)
       .withAdditionalJacksonModules(...)
    
    val mapper = builder.objectMapper
    val camelCaseMapper = builder.camelCaseObjectMapper
  8. def camelCaseObjectMapper(underlying: JacksonScalaObjectMapperType): ScalaObjectMapper

    Utility to create a new ScalaObjectMapper explicitly configured with PropertyNamingStrategies.LOWER_CAMEL_CASE as a PropertyNamingStrategy wrapping the given JacksonScalaObjectMapperType.

    Utility to create a new ScalaObjectMapper explicitly configured with PropertyNamingStrategies.LOWER_CAMEL_CASE as a PropertyNamingStrategy wrapping the given JacksonScalaObjectMapperType.

    Note

    the underlying mapper is copied (not mutated) to produce the new ScalaObjectMapper with a PropertyNamingStrategies.LOWER_CAMEL_CASE PropertyNamingStrategy.

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def objectMapper(underlying: JacksonScalaObjectMapperType): ScalaObjectMapper

    Utility to create a new ScalaObjectMapper which simply wraps the given JacksonScalaObjectMapperType.

    Utility to create a new ScalaObjectMapper which simply wraps the given JacksonScalaObjectMapperType.

    Note

    the underlying mapper is not mutated to produce the new ScalaObjectMapper

  20. def snakeCaseObjectMapper(underlying: JacksonScalaObjectMapperType): ScalaObjectMapper

    Utility to create a new ScalaObjectMapper explicitly configured with PropertyNamingStrategies.SNAKE_CASE as a PropertyNamingStrategy wrapping the given JacksonScalaObjectMapperType.

    Utility to create a new ScalaObjectMapper explicitly configured with PropertyNamingStrategies.SNAKE_CASE as a PropertyNamingStrategy wrapping the given JacksonScalaObjectMapperType.

    Note

    the underlying mapper is copied (not mutated) to produce the new ScalaObjectMapper with a PropertyNamingStrategies.SNAKE_CASE PropertyNamingStrategy.

  21. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  24. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  26. def yamlObjectMapper(underlying: JacksonScalaObjectMapperType): ScalaObjectMapper

    Utility to create a new ScalaObjectMapper explicitly configured to serialize and deserialize YAML using the given JacksonScalaObjectMapperType.

    Utility to create a new ScalaObjectMapper explicitly configured to serialize and deserialize YAML using the given JacksonScalaObjectMapperType. The resultant mapper PropertyNamingStrategy will be that configured on the underlying mapper.

    Note

    the underlying mapper is copied (not mutated) to produce the new ScalaObjectMapper to negotiate YAML serialization and deserialization.

Inherited from AnyRef

Inherited from Any

Ungrouped