com.fasterxml.jackson.module.scala

Provides Scala support for the Jackson JSON Processor.

Attributes

Since

1.9.0

Example
def mapper = new ObjectMapper()
mapper.registerModule(DefaultScalaModule)

Members list

Packages

Here we add some type aliases for things that were removed or reworked in scala 2.13.

Here we add some type aliases for things that were removed or reworked in scala 2.13.

Attributes

Type members

Classlikes

Adds support for deserializing Scala scala.collection.BitSets. Scala Bitsets can already be serialized using IteratorModule or DefaultScalaModule.

Adds support for deserializing Scala scala.collection.BitSets. Scala Bitsets can already be serialized using IteratorModule or DefaultScalaModule.

Do not enable this module unless you are sure that no input is accepted from untrusted sources.

Scala BitSets use memory based on the highest int value stored. So a BitSet with just one big int will use a lot more memory than a Scala BitSet with many small ints stored in it.

Attributes

Since

2.14.0

Supertypes
class Module
trait Versioned
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

ClassTag equivalent of ScalaObjectMapper (which it is meant to replace). This only works with non parameterized types or parameterized types up to 5 type parameters.

ClassTag equivalent of ScalaObjectMapper (which it is meant to replace). This only works with non parameterized types or parameterized types up to 5 type parameters.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Mixin
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Complete module with support for all features, with the exception of BitSetDeserializerModule.

Complete module with support for all features, with the exception of BitSetDeserializerModule.

This class aggregates all of the feature modules into a single concrete class. Its use is recommended for new users and users who want things to "just work". If more customized support is desired, consult each of the constituent traits.

Attributes

See also
Since

1.9.0

Companion
object
Supertypes
Known subtypes

Attributes

Supertypes
class Module
trait Versioned
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Companion
object
Supertypes
class Module
trait Versioned
class Object
trait Matchable
class Any
Show all
Known subtypes
object EnumModule extends EnumModule

Attributes

Companion
trait
Supertypes
trait EnumModule
class Module
trait Versioned
class Object
trait Matchable
class Any
Show all
Self type
EnumModule.type

Adds serialization and deserialization support for Scala Enumerations.

Adds serialization and deserialization support for Scala Enumerations.

Attributes

Supertypes
class Module
trait Versioned
class Object
trait Matchable
class Any
Show all
Known subtypes

Adds support for serializing Scala Iterables.

Adds support for serializing Scala Iterables.

Attributes

Supertypes
class Module
trait Versioned
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Supertypes
class Module
trait Versioned
class Object
trait Matchable
class Any
Show all
Known subtypes
object JacksonModule

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
trait JacksonModule extends Module

Attributes

Companion
object
Supertypes
class Module
trait Versioned
class Object
trait Matchable
class Any
Known subtypes
trait JavaTypeable[T]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
object JavaTypeable

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type

Factory for creating com.fasterxml.jackson.databind.util.LookupCache instances

Factory for creating com.fasterxml.jackson.databind.util.LookupCache instances

Attributes

Since

2.14.3

Supertypes
class Object
trait Matchable
class Any
Known subtypes

Adds support for serializing and deserializing Scala Options.

Adds support for serializing and deserializing Scala Options.

Attributes

Supertypes
class Module
trait Versioned
class Object
trait Matchable
class Any
Show all
Known subtypes

Adds support for serializing and deserializing Scala sequences.

Adds support for serializing and deserializing Scala sequences.

Attributes

Supertypes
class Module
trait Versioned
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Supertypes
class Module
trait Versioned
class Object
trait Matchable
class Any
Show all
Known subtypes

Adds support for serializing and deserializing Scala Symbols without the '.

Adds support for serializing and deserializing Scala Symbols without the '.

Attributes

Supertypes
class Module
trait Versioned
class Object
trait Matchable
class Any
Show all
Known subtypes

Adds support for serializing and deserializing Scala Tuples.

Adds support for serializing and deserializing Scala Tuples.

Attributes

Supertypes
class Module
trait Versioned
class Object
trait Matchable
class Any
Show all
Known subtypes

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Deprecated classlikes

Attributes

Deprecated
true
Supertypes
trait Serializable
trait Versioned
class Object
trait Matchable
class Any
Show all
Self type

Attributes

Deprecated
true
Supertypes
class Module
trait Versioned
class Object
trait Matchable
class Any
Show all
Known subtypes