object DefaultScalaModule extends DefaultScalaModule
- Alphabetic
- By Inheritance
- DefaultScalaModule
- DefaultScalaModule
- SymbolModule
- SymbolDeserializerModule
- SymbolSerializerModule
- EitherModule
- EitherSerializerModule
- EitherTypeModifierModule
- EitherDeserializerModule
- UntypedObjectDeserializerModule
- ScalaAnnotationIntrospectorModule
- ScalaNumberDeserializersModule
- SetModule
- SortedSetDeserializerModule
- UnsortedSetDeserializerModule
- MapModule
- SortedMapDeserializerModule
- UnsortedMapDeserializerModule
- MapSerializerModule
- MapTypeModifierModule
- TupleModule
- TupleDeserializerModule
- TupleSerializerModule
- IterableModule
- SeqModule
- SeqDeserializerModule
- IterableSerializerModule
- IterableTypeModifierModule
- OptionModule
- OptionDeserializerModule
- OptionSerializerModule
- OptionTypeModifierModule
- EnumerationModule
- EnumerationDeserializerModule
- EnumerationSerializerModule
- IteratorModule
- IteratorSerializerModule
- IteratorTypeModifierModule
- ScalaTypeModifierModule
- JacksonModule
- Module
- Versioned
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +=(beanSerMod: BeanSerializerModifier): DefaultScalaModule.this.type
- Attributes
- protected
- Definition Classes
- JacksonModule
- def +=(typeMod: TypeModifier): DefaultScalaModule.this.type
- Attributes
- protected
- Definition Classes
- JacksonModule
- def +=(deser: Deserializers): DefaultScalaModule.this.type
- Attributes
- protected
- Definition Classes
- JacksonModule
- def +=(ser: Serializers): DefaultScalaModule.this.type
- Attributes
- protected
- Definition Classes
- JacksonModule
- def +=(init: (SetupContext) => Unit): DefaultScalaModule.this.type
- Attributes
- protected
- Definition Classes
- JacksonModule
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearRegisteredReferencedTypes(): Unit
clears all the state associated with reference types
clears all the state associated with reference types
- Definition Classes
- ScalaAnnotationIntrospectorModule
- Since
2.13.1
- See also
clearRegisteredReferencedTypes(Class[_])
- 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
- Definition Classes
- ScalaAnnotationIntrospectorModule
- Since
2.13.1
- See also
clearRegisteredReferencedTypes()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDependencies(): Iterable[_ <: Module]
- Definition Classes
- Module
- def getModuleName(): String
- Definition Classes
- DefaultScalaModule → JacksonModule → Module
- 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 isLong
- Definition Classes
- ScalaAnnotationIntrospectorModule
- Since
2.13.1
- See also
- def getTypeId(): AnyRef
- Definition Classes
- Module
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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 isLong
- Definition Classes
- ScalaAnnotationIntrospectorModule
- Since
2.13.1
- See also
clearRegisteredReferencedTypes()
clearRegisteredReferencedTypes(Class[_])
- def setDescriptorCache(cache: LookupCache[ClassKey, BeanDescriptor]): LookupCache[ClassKey, BeanDescriptor]
- Definition Classes
- ScalaAnnotationIntrospectorModule
- def setScalaTypeCache(cache: LookupCache[ClassKey, Boolean]): LookupCache[ClassKey, Boolean]
- Definition Classes
- ScalaAnnotationIntrospectorModule
- def setupModule(context: SetupContext): Unit
- Definition Classes
- JacksonModule → Module
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def version(): Version
- Definition Classes
- JacksonModule → Module → Versioned
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()