Packages

trait ScalaAnnotationIntrospectorModule extends databind.JacksonModule with JacksonModule

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScalaAnnotationIntrospectorModule
  2. JacksonModule
  3. JacksonModule
  4. Versioned
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clearRegisteredReferencedTypes(): Unit

    Clears all the state associated with reference types

    Clears all the state associated with reference types

    Since

    2.13.0

    See also

    registerReferencedValueType

    clearRegisteredReferencedTypes(Class[_])

  6. def clearRegisteredReferencedTypes(clazz: Class[_]): Unit

    clears the state associated with reference types for the given class

    clears the state associated with reference types for the given class

    clazz

    the class for which to remove the registered reference types

    Since

    2.13.0

    See also

    registerReferencedValueType

    clearRegisteredReferencedTypes()

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  8. def config: Config
    Attributes
    protected
    Definition Classes
    JacksonModule
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  12. def getDependencies(): Iterable[_ <: databind.JacksonModule]
    Definition Classes
    JacksonModule
  13. def getInitializers(config: Config): Seq[(SetupContext) => Unit]
  14. def getModuleName(): String
    Definition Classes
    ScalaAnnotationIntrospectorModule → JacksonModule
  15. def getRegisteredReferencedValueType(clazz: Class[_], fieldName: String): Option[Class[_]]

    jackson-module-scala does not always properly handle deserialization of Options or Collections wrapping Scala primitives (eg Int, Long, Boolean).

    jackson-module-scala does not always properly handle deserialization of Options or Collections wrapping Scala primitives (eg Int, Long, Boolean).

    This function is experimental and may be removed or significantly reworked in a later release.

    These issues can be worked around by adding Jackson annotations on the affected fields. This function is designed to be used when it is not possible to apply Jackson annotations.

    clazz

    the (case) class

    fieldName

    the field name in the (case) class

    returns

    the referenced type of the field - for Option[Long] - the referenced type is Long

    Since

    2.13.1

    See also

    registerReferencedValueType

  16. def getRegistrationId(): AnyRef
    Definition Classes
    JacksonModule
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  22. def registerReferencedValueType(clazz: Class[_], fieldName: String, referencedType: Class[_]): Unit

    jackson-module-scala does not always properly handle deserialization of Options or Collections wrapping Scala primitives (eg Int, Long, Boolean).

    jackson-module-scala does not always properly handle deserialization of Options or Collections wrapping Scala primitives (eg Int, Long, Boolean).

    This function is experimental and may be removed or significantly reworked in a later release.

    These issues can be worked around by adding Jackson annotations on the affected fields. This function is designed to be used when it is not possible to apply Jackson annotations.

    clazz

    the (case) class

    fieldName

    the field name in the (case) class

    referencedType

    the referenced type of the field - for Option[Long] - the referenced type is Long

    Since

    2.13.0

    See also

    getRegisteredReferencedValueType

    clearRegisteredReferencedTypes()

    clearRegisteredReferencedTypes(Class[_])

  23. def setDescriptorCacheSize(size: Int): Unit

    Resize the descriptorCache.

    Resize the descriptorCache. The default size is 100.

    Note that this clears the existing cache entries. It is best to set this up before you start using the Jackson Scala Module for serializing/deserializing.

    size

    new size for the cache

    Since

    2.14.3

    See also

    setScalaTypeCacheSize

    setLookupCacheFactory

  24. def setLookupCacheFactory(lookupCacheFactory: LookupCacheFactory): Unit

    Replaces the LookupCacheFactory.

    Replaces the LookupCacheFactory. The default factory uses tools.jackson.databind.util.SimpleLookupCache.

    Note that this clears the existing cache entries. It is best to set this up before you start using the Jackson Scala Module for serializing/deserializing.

    lookupCacheFactory

    new factory

    Since

    2.14.3

    See also

    setDescriptorCacheSize

    setScalaTypeCacheSize

  25. def setScalaTypeCacheSize(size: Int): Unit

    Resize the scalaTypeCache.

    Resize the scalaTypeCache. The default size is 1000.

    Note that this clears the existing cache entries. It is best to set this up before you start using the Jackson Scala Module for serializing/deserializing.

    size

    new size for the cache

    Since

    2.14.3

    See also

    setDescriptorCacheSize

    setLookupCacheFactory

  26. def setupModule(context: SetupContext): Unit
    Definition Classes
    JacksonModule → JacksonModule
  27. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def version(): Version
    Definition Classes
    JacksonModule → JacksonModule → Versioned
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from JacksonModule

Inherited from databind.JacksonModule

Inherited from Versioned

Inherited from AnyRef

Inherited from Any

Ungrouped