package scala
Provides Scala support for the Jackson JSON Processor.
def mapper = new ObjectMapper() mapper.registerModule(DefaultScalaModule)
- Since
1.9.0
- Alphabetic
- By Inheritance
- scala
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Package Members
Type Members
- trait ClassTagExtensions extends AnyRef
ClassTag equivalent of Jackson 2 ScalaObjectMapper (which it has replaced).
ClassTag equivalent of Jackson 2 ScalaObjectMapper (which it has replaced). This only works with non parameterized types or parameterized types up to 5 type parameters.
- class DefaultScalaModule extends databind.JacksonModule with JacksonModule
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
- trait EitherModule extends databind.JacksonModule with EitherDeserializerModule with EitherSerializerModule
- trait EnumerationModule extends databind.JacksonModule with EnumerationSerializerModule with EnumerationDeserializerModule
Adds serialization and deserialization support for Scala Enumerations.
- trait IterableModule extends databind.JacksonModule with IterableSerializerModule
Adds support for serializing Scala Iterables.
- trait IteratorModule extends databind.JacksonModule with IteratorSerializerModule
- trait JacksonModule extends databind.JacksonModule
- trait JavaTypeable[T] extends AnyRef
- trait JsonScalaEnumeration extends Annotation
- Annotations
- @Target() @Retention() @JacksonAnnotation()
- trait LookupCacheFactory extends AnyRef
Factory for creating tools.jackson.databind.util.LookupCache instances
Factory for creating tools.jackson.databind.util.LookupCache instances
- Since
2.14.3
- trait MapModule extends databind.JacksonModule with MapSerializerModule with UnsortedMapDeserializerModule with SortedMapDeserializerModule
- trait OptionModule extends databind.JacksonModule with OptionSerializerModule with OptionDeserializerModule
Adds support for serializing and deserializing Scala Options.
- trait SeqModule extends databind.JacksonModule with IterableSerializerModule with SeqDeserializerModule
Adds support for serializing and deserializing Scala sequences.
- trait SetModule extends databind.JacksonModule with UnsortedSetDeserializerModule with SortedSetDeserializerModule
- trait SymbolModule extends databind.JacksonModule with SymbolSerializerModule with SymbolDeserializerModule
Adds support for serializing and deserializing Scala Symbols without the '.
- trait TupleModule extends databind.JacksonModule with TupleSerializerModule with TupleDeserializerModule
Adds support for serializing and deserializing Scala Tuples.
Value Members
- object BitSetDeserializerModule extends databind.JacksonModule with JacksonModule
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
- object ClassTagExtensions
- object DefaultLookupCacheFactory extends LookupCacheFactory
- object DefaultScalaModule extends DefaultScalaModule
- object EitherModule extends databind.JacksonModule with EitherModule
- object EnumerationModule extends databind.JacksonModule with EnumerationModule
- object IterableModule extends databind.JacksonModule with IterableModule
- object IteratorModule extends databind.JacksonModule with IteratorModule
- object JacksonModule
- object JavaTypeable
- object MapModule extends databind.JacksonModule with MapModule
- object OptionModule extends databind.JacksonModule with OptionModule
- object ScalaModule
- object SeqModule extends databind.JacksonModule with SeqModule
- object SetModule extends databind.JacksonModule with SetModule
- object SymbolModule extends databind.JacksonModule with SymbolModule
- object TupleModule extends databind.JacksonModule with TupleModule
- object VersionExtractor