com.fasterxml.jackson.module.scala

Provides Scala support for the Jackson JSON Processor.

Since:

1.9.0

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

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.

Since:

2.14.0

Companion:
class

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.

Companion:
object

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.

See also:
Since:

1.9.0

Companion:
object

Adds serialization and deserialization support for Scala Enumerations.

Adds serialization and deserialization support for Scala Enumerations.

Adds support for serializing Scala Iterables.

Adds support for serializing Scala Iterables.

Companion:
class
trait JacksonModule extends Module
Companion:
object
trait JavaTypeable[T]
Companion:
object
Companion:
class

Adds support for serializing and deserializing Scala Options.

Adds support for serializing and deserializing Scala Options.

Adds support for serializing and deserializing Scala sequences.

Adds support for serializing and deserializing Scala sequences.

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

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

Adds support for serializing and deserializing Scala Tuples.

Adds support for serializing and deserializing Scala Tuples.

Deprecated classlikes