com.fasterxml.jackson.module.scala.introspect
clears all the state associated with reference types
clears all the state associated with reference types
2.13.1
clearRegisteredReferencedTypes(Class[_])
clears the state associated with reference types for the given class
clears the state associated with reference types for the given class
the class for which to remove the registered reference types
2.13.1
clearRegisteredReferencedTypes()
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.
the (case) class
the field name in the (case) class
the referenced type of the field - for Option[Long]
- the referenced type is Long
2.13.1
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.
the (case) class
the field name in the (case) class
the referenced type of the field - for Option[Long]
- the referenced type is Long
2.13.1
clearRegisteredReferencedTypes(Class[_])
clearRegisteredReferencedTypes()
Override the default scalaTypeCache
.
Override the default scalaTypeCache
.
new cache instance
old cache instance
2.14.0
Gets whether we check for Scala3 classes (default is true).
Gets whether we check for Scala3 classes (default is true).
whether we check for Scala3 classes
2.14.0
Sets whether we check for Scala3 classes (default is true).
Sets whether we check for Scala3 classes (default is true). Setting this to false can improve performance.
whether we check for Scala3 classes
2.14.0