Package

com.fasterxml.jackson.module

scala

Permalink

package scala

Provides Scala support for the Jackson JSON Processor.

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

1.9.0

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. scala
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait ClassTagExtensions extends AnyRef

    Permalink

    ClassTag equivalent of ScalaObjectMapper (which it is meant to replace).

    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.

  2. class DefaultScalaModule extends Module with JacksonModule with IteratorModule with EnumerationModule with OptionModule with SeqModule with IterableModule with TupleModule with MapModule with SetModule with ScalaNumberDeserializersModule with ScalaAnnotationIntrospectorModule with UntypedObjectDeserializerModule with EitherModule with SymbolModule

    Permalink

    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.

    Since

    1.9.0

    See also

    com.fasterxml.jackson.module.scala.JacksonModule

  3. trait EitherModule extends Module with EitherDeserializerModule with EitherSerializerModule

    Permalink
  4. trait EnumerationModule extends Module with EnumerationSerializerModule with EnumerationDeserializerModule

    Permalink

    Adds serialization and deserialization support for Scala Enumerations.

  5. trait IterableModule extends Module with IterableSerializerModule

    Permalink

    Adds support for serializing Scala Iterables.

  6. trait IteratorModule extends Module with IteratorSerializerModule

    Permalink
  7. trait JacksonModule extends Module

    Permalink
  8. trait JavaTypeable[T] extends AnyRef

    Permalink
  9. class JsonScalaEnumeration extends Annotation with Annotation with ClassfileAnnotation

    Permalink
  10. trait MapModule extends Module with MapSerializerModule with UnsortedMapDeserializerModule with SortedMapDeserializerModule

    Permalink
  11. trait OptionModule extends Module with OptionSerializerModule with OptionDeserializerModule

    Permalink

    Adds support for serializing and deserializing Scala Options.

  12. trait SeqModule extends Module with IterableSerializerModule with SeqDeserializerModule

    Permalink

    Adds support for serializing and deserializing Scala sequences.

  13. trait SetModule extends Module with UnsortedSetDeserializerModule with SortedSetDeserializerModule

    Permalink
  14. trait SymbolModule extends Module with SymbolSerializerModule with SymbolDeserializerModule

    Permalink

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

  15. trait TupleModule extends Module with TupleSerializerModule with TupleDeserializerModule

    Permalink

    Adds support for serializing and deserializing Scala Tuples.

  16. trait RequiredPropertiesSchemaModule extends Module with JacksonModule

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) will be removed in 3.0.0 release as jackson-module-jsonSchema is being discontinued

  17. trait ScalaObjectMapper extends AnyRef

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.12.1) ScalaObjectMapper is deprecated because Manifests are not supported in Scala3, you might want to use ClassTagExtensions as a replacement

Value Members

  1. object BitSetDeserializerModule extends Module with JacksonModule

    Permalink

    Adds support for deserializing Scala scala.collection.BitSets.

    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

  2. object ClassTagExtensions

    Permalink
  3. object DefaultScalaModule extends DefaultScalaModule

    Permalink
  4. object JacksonModule

    Permalink
  5. object JavaTypeable

    Permalink
  6. object ScalaObjectMapper

    Permalink
  7. object VersionExtractor

    Permalink
  8. package deser

    Permalink

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

  9. package experimental

    Permalink
  10. package introspect

    Permalink
  11. package modifiers

    Permalink

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

  12. package ser

    Permalink

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

  13. package util

    Permalink

Deprecated Value Members

  1. object DefaultRequiredAnnotationIntrospector extends NopAnnotationIntrospector

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) will be removed in 3.0.0 release as jackson-module-jsonSchema is being discontinued

Inherited from AnyRef

Inherited from Any

Ungrouped