Packages

package scala

Provides Scala support for the Jackson JSON Processor.

Currently, full support is provided for:

  • Option
  • Tuple
  • Seq
  • Enumeration

Partial support exists for:

  • Map; all maps are serialized but only unsorted maps can currently be deserialized.
  • Iterable; any iterable can be serialized but cannot be deserialized.
Example:
  1. def mapper = new ObjectMapper()
    mapper.registerModule(DefaultScalaModule)
Since

1.9.0

Linear Supertypes
AnyRef, Any
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. 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

    Complete module with support for all features.

    Complete module with support for all features.

    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

  2. trait EitherModule extends Module with EitherDeserializerModule with EitherSerializerModule
  3. trait EnumerationModule extends Module with EnumerationSerializerModule with EnumerationDeserializerModule

    Adds serialization and deserization support for Scala Enumerations.

  4. trait IterableModule extends Module with IterableSerializerModule

    Adds support for serializing Scala Iterables.

  5. trait IteratorModule extends Module with IteratorSerializerModule
  6. trait JacksonModule extends Module
  7. class JsonScalaEnumeration extends Annotation with Annotation with ClassfileAnnotation
  8. trait MapModule extends Module with MapSerializerModule with SortedMapDeserializerModule with UnsortedMapDeserializerModule

  9. trait OptionModule extends Module with OptionSerializerModule with OptionDeserializerModule

    Adds support for serializing and deserializing Scala Options.

  10. trait SeqModule extends Module with IterableSerializerModule with SeqDeserializerModule

    Adds support for serializing and deserializing Scala sequences.

  11. trait SetModule extends Module with UnsortedSetDeserializerModule with SortedSetDeserializerModule
  12. trait TupleModule extends Module with TupleSerializerModule with TupleDeserializerModule

    Adds support for serializing and deserializing Scala Tuples.

  13. class ScalaModule extends DefaultScalaModule

    Deprecated

    Use DefaultScalaModule

Inherited from AnyRef

Inherited from Any

Ungrouped