ObjectMapperMixin

trait Serializable
trait Versioned
class TreeCodec
class Object
trait Matchable
class Any

Value members

Inherited methods

def acceptJsonFormatVisitor(x$0: Class[_ <: <FromJavaObject>], x$1: JsonFormatVisitorWrapper): Unit
Inherited from:
ObjectMapper
def addMixIn(x$0: Class[_ <: <FromJavaObject>], x$1: Class[_ <: <FromJavaObject>]): ObjectMapper
Inherited from:
ObjectMapper
def canDeserialize(x$0: JavaType, x$1: AtomicReference[Throwable]): Boolean
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
def canSerialize(x$0: Class[_ <: <FromJavaObject>], x$1: AtomicReference[Throwable]): Boolean
Inherited from:
ObjectMapper
def canSerialize(x$0: Class[_ <: <FromJavaObject>]): Boolean
Inherited from:
ObjectMapper
def coercionConfigFor(x$0: Class[_ <: <FromJavaObject>]): MutableCoercionConfig
Inherited from:
ObjectMapper
def configOverride(x$0: Class[_ <: <FromJavaObject>]): MutableConfigOverride
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper

Convenience method for constructing com.fasterxml.jackson.databind.JavaType out of given type (typically java.lang.Class), but without explicit context.

Convenience method for constructing com.fasterxml.jackson.databind.JavaType out of given type (typically java.lang.Class), but without explicit context.

Inherited from:
ClassTagExtensions
def constructType(x$0: TypeReference[_ <: <FromJavaObject>]): JavaType
Inherited from:
ObjectMapper
def constructType(x$0: Type): JavaType
Inherited from:
ObjectMapper
def convertValue[T : JavaTypeable](fromValue: Any): T

Convenience method for doing two-step conversion from given value, into instance of given value type. This is functionality equivalent to first serializing given value into JSON, then binding JSON data into value of given type, but may be executed without fully serializing into JSON. Same converters (serializers, deserializers) will be used as for data binding, meaning same object mapper configuration works.

Convenience method for doing two-step conversion from given value, into instance of given value type. This is functionality equivalent to first serializing given value into JSON, then binding JSON data into value of given type, but may be executed without fully serializing into JSON. Same converters (serializers, deserializers) will be used as for data binding, meaning same object mapper configuration works.

Throws:
IllegalArgumentException

If conversion fails due to incompatible type; if so, root cause will contain underlying checked exception data binding functionality threw

Inherited from:
ClassTagExtensions
def convertValue[T <: <FromJavaObject>](x$0: <FromJavaObject>, x$1: JavaType): T
Inherited from:
ObjectMapper
def convertValue[T <: <FromJavaObject>](x$0: <FromJavaObject>, x$1: TypeReference[T]): T
Inherited from:
ObjectMapper
def convertValue[T <: <FromJavaObject>](x$0: <FromJavaObject>, x$1: Class[T]): T
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
def createGenerator(x$0: DataOutput): JsonGenerator
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
def createGenerator(x$0: Writer): JsonGenerator
Inherited from:
ObjectMapper
def createGenerator(x$0: OutputStream, x$1: JsonEncoding): JsonGenerator
Inherited from:
ObjectMapper
def createGenerator(x$0: OutputStream): JsonGenerator
Inherited from:
ObjectMapper
def createParser(x$0: DataInput): JsonParser
Inherited from:
ObjectMapper
def createParser(x$0: Array[Char], x$1: Int, x$2: Int): JsonParser
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
def createParser(x$0: String): JsonParser
Inherited from:
ObjectMapper
def createParser(x$0: Array[Byte], x$1: Int, x$2: Int): JsonParser
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
def createParser(x$0: Reader): JsonParser
Inherited from:
ObjectMapper
def createParser(x$0: InputStream): JsonParser
Inherited from:
ObjectMapper
def createParser(x$0: URL): JsonParser
Inherited from:
ObjectMapper
def createParser(x$0: File): JsonParser
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
def findMixInClassFor(x$0: Class[_ <: <FromJavaObject>]): Class[_ <: <FromJavaObject>]
Inherited from:
ObjectMapper
def getDateFormat(): DateFormat
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
def getRegisteredModuleIds(): Set[<FromJavaObject>]
Inherited from:
ObjectMapper
def getVisibilityChecker(): VisibilityChecker[_ <: <FromJavaObject>]
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
def readTree(x$0: URL): JsonNode
Inherited from:
ObjectMapper
def readTree(x$0: File): JsonNode
Inherited from:
ObjectMapper
def readTree(x$0: Array[Byte], x$1: Int, x$2: Int): JsonNode
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
def readTree(x$0: String): JsonNode
Inherited from:
ObjectMapper
def readTree(x$0: Reader): JsonNode
Inherited from:
ObjectMapper
def readTree(x$0: InputStream): JsonNode
Inherited from:
ObjectMapper
def readTree[T <: TreeNode](x$0: JsonParser): T
Inherited from:
ObjectMapper
def readValue[T : JavaTypeable](src: Array[Byte], offset: Int, len: Int): T
Inherited from:
ClassTagExtensions
def readValue[T : JavaTypeable](src: Array[Byte]): T
Inherited from:
ClassTagExtensions
def readValue[T : JavaTypeable](src: InputStream): T
Inherited from:
ClassTagExtensions
def readValue[T : JavaTypeable](src: Reader): T
Inherited from:
ClassTagExtensions
def readValue[T : JavaTypeable](content: String): T
Inherited from:
ClassTagExtensions
def readValue[T : JavaTypeable](src: URL): T
Inherited from:
ClassTagExtensions
def readValue[T : JavaTypeable](src: File): T
Inherited from:
ClassTagExtensions

Method to deserialize JSON content into a Java type, reference to which is passed as argument. Type is passed using so-called "super type token" (see ) and specifically needs to be used if the root type is a parameterized (generic) container type.

Method to deserialize JSON content into a Java type, reference to which is passed as argument. Type is passed using so-called "super type token" (see ) and specifically needs to be used if the root type is a parameterized (generic) container type.

Inherited from:
ClassTagExtensions
def readValue[T <: <FromJavaObject>](x$0: DataInput, x$1: JavaType): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: DataInput, x$1: Class[T]): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: Array[Byte], x$1: Int, x$2: Int, x$3: JavaType): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: Array[Byte], x$1: JavaType): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: Array[Byte], x$1: Int, x$2: Int, x$3: TypeReference[T]): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: Array[Byte], x$1: TypeReference[T]): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: Array[Byte], x$1: Int, x$2: Int, x$3: Class[T]): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: Array[Byte], x$1: Class[T]): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: InputStream, x$1: JavaType): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: InputStream, x$1: TypeReference[T]): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: InputStream, x$1: Class[T]): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: Reader, x$1: JavaType): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: Reader, x$1: TypeReference[T]): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: Reader, x$1: Class[T]): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: String, x$1: JavaType): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: String, x$1: TypeReference[T]): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: String, x$1: Class[T]): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: URL, x$1: JavaType): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: URL, x$1: TypeReference[T]): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: URL, x$1: Class[T]): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: File, x$1: JavaType): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: File, x$1: TypeReference[T]): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: File, x$1: Class[T]): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: JsonParser, x$1: JavaType): T
Inherited from:
ObjectMapper
final def readValue[T <: <FromJavaObject>](x$0: JsonParser, x$1: ResolvedType): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: JsonParser, x$1: TypeReference[T]): T
Inherited from:
ObjectMapper
def readValue[T <: <FromJavaObject>](x$0: JsonParser, x$1: Class[T]): T
Inherited from:
ObjectMapper

Method for reading sequence of Objects from parser stream. Sequence can be either root-level "unwrapped" sequence (without surrounding JSON array), or a sequence contained in a JSON Array. In either case com.fasterxml.jackson.core.JsonParser must point to the first token of the first element, OR not point to any token (in which case it is advanced to the next token). This means, specifically, that for wrapped sequences, parser MUST NOT point to the surrounding START_ARRAY but rather to the token following it.

Method for reading sequence of Objects from parser stream. Sequence can be either root-level "unwrapped" sequence (without surrounding JSON array), or a sequence contained in a JSON Array. In either case com.fasterxml.jackson.core.JsonParser must point to the first token of the first element, OR not point to any token (in which case it is advanced to the next token). This means, specifically, that for wrapped sequences, parser MUST NOT point to the surrounding START_ARRAY but rather to the token following it.

Note that com.fasterxml.jackson.databind.ObjectReader has more complete set of variants.

Inherited from:
ClassTagExtensions
def readValues[T <: <FromJavaObject>](x$0: JsonParser, x$1: TypeReference[T]): MappingIterator[T]
Inherited from:
ObjectMapper
def readValues[T <: <FromJavaObject>](x$0: JsonParser, x$1: Class[T]): MappingIterator[T]
Inherited from:
ObjectMapper
def readValues[T <: <FromJavaObject>](x$0: JsonParser, x$1: JavaType): MappingIterator[T]
Inherited from:
ObjectMapper
def readValues[T <: <FromJavaObject>](x$0: JsonParser, x$1: ResolvedType): MappingIterator[T]
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper

Factory method for constructing com.fasterxml.jackson.databind.ObjectReader that will read or update instances of specified type

Factory method for constructing com.fasterxml.jackson.databind.ObjectReader that will read or update instances of specified type

Inherited from:
ClassTagExtensions
def readerFor(x$0: TypeReference[_ <: <FromJavaObject>]): ObjectReader
Inherited from:
ObjectMapper
def readerFor(x$0: Class[_ <: <FromJavaObject>]): ObjectReader
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
def readerForArrayOf(x$0: Class[_ <: <FromJavaObject>]): ObjectReader
Inherited from:
ObjectMapper
def readerForListOf(x$0: Class[_ <: <FromJavaObject>]): ObjectReader
Inherited from:
ObjectMapper
def readerForMapOf(x$0: Class[_ <: <FromJavaObject>]): ObjectReader
Inherited from:
ObjectMapper
def readerForUpdating(x$0: <FromJavaObject>): ObjectReader
Inherited from:
ObjectMapper

Factory method for constructing com.fasterxml.jackson.databind.ObjectReader that will deserialize objects using specified JSON View (filter).

Factory method for constructing com.fasterxml.jackson.databind.ObjectReader that will deserialize objects using specified JSON View (filter).

Inherited from:
ClassTagExtensions
def readerWithView(x$0: Class[_ <: <FromJavaObject>]): ObjectReader
Inherited from:
ObjectMapper
def registerModules(x$0: Iterable[_ <: Module]): ObjectMapper
Inherited from:
ObjectMapper
def registerSubtypes(x$0: Collection[Class[_ <: <FromJavaObject>]]): Unit
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
def registerSubtypes(x$0: Class[_ <: <FromJavaObject>]*): Unit
Inherited from:
ObjectMapper
def setDateFormat(x$0: DateFormat): ObjectMapper
Inherited from:
ObjectMapper
def setDefaultLeniency(x$0: Boolean): ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
def setDefaultTyping(x$0: TypeResolverBuilder[_ <: <FromJavaObject>]): ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
def setHandlerInstantiator(x$0: HandlerInstantiator): <FromJavaObject>
Inherited from:
ObjectMapper
def setLocale(x$0: Locale): ObjectMapper
Inherited from:
ObjectMapper
def setMixIns(x$0: Map[Class[_ <: <FromJavaObject>], Class[_ <: <FromJavaObject>]]): ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
def setTimeZone(x$0: TimeZone): ObjectMapper
Inherited from:
ObjectMapper
def setVisibility(x$0: PropertyAccessor, x$1: Visibility): ObjectMapper
Inherited from:
ObjectMapper
def setVisibility(x$0: VisibilityChecker[_ <: <FromJavaObject>]): ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper

Convenience conversion method that will bind data given JSON tree contains into specific value (usually bean) type.

Convenience conversion method that will bind data given JSON tree contains into specific value (usually bean) type.

Equivalent to:

objectMapper.convertValue(n, valueClass);
Inherited from:
ClassTagExtensions
def treeToValue[T <: <FromJavaObject>](x$0: TreeNode, x$1: JavaType): T
Inherited from:
ObjectMapper
def treeToValue[T <: <FromJavaObject>](x$0: TreeNode, x$1: Class[T]): T
Inherited from:
ObjectMapper
def updateValue[T : JavaTypeable](valueToUpdate: T, src: Array[Byte], offset: Int, len: Int): T
Inherited from:
ClassTagExtensions
def updateValue[T : JavaTypeable](valueToUpdate: T, src: Array[Byte]): T
Inherited from:
ClassTagExtensions
def updateValue[T : JavaTypeable](valueToUpdate: T, src: InputStream): T
Inherited from:
ClassTagExtensions
def updateValue[T : JavaTypeable](valueToUpdate: T, src: Reader): T
Inherited from:
ClassTagExtensions
def updateValue[T : JavaTypeable](valueToUpdate: T, content: String): T
Inherited from:
ClassTagExtensions
def updateValue[T : JavaTypeable](valueToUpdate: T, src: URL): T
Inherited from:
ClassTagExtensions
def updateValue[T : JavaTypeable](valueToUpdate: T, src: File): T
Inherited from:
ClassTagExtensions
def updateValue[T <: <FromJavaObject>](x$0: T, x$1: <FromJavaObject>): T
Inherited from:
ObjectMapper
def valueToTree[T <: JsonNode](x$0: <FromJavaObject>): T
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
def writeValue(x$0: Writer, x$1: <FromJavaObject>): Unit
Inherited from:
ObjectMapper
def writeValue(x$0: DataOutput, x$1: <FromJavaObject>): Unit
Inherited from:
ObjectMapper
def writeValue(x$0: OutputStream, x$1: <FromJavaObject>): Unit
Inherited from:
ObjectMapper
def writeValue(x$0: File, x$1: <FromJavaObject>): Unit
Inherited from:
ObjectMapper
def writeValue(x$0: JsonGenerator, x$1: <FromJavaObject>): Unit
Inherited from:
ObjectMapper
def writeValueAsBytes(x$0: <FromJavaObject>): Array[Byte]
Inherited from:
ObjectMapper
def writeValueAsString(x$0: <FromJavaObject>): String
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper
def writer(x$0: DateFormat): ObjectWriter
Inherited from:
ObjectMapper
Inherited from:
ObjectMapper

Factory method for constructing com.fasterxml.jackson.databind.ObjectWriter that will serialize objects using specified root type, instead of actual runtime type of value. Type must be a super-type of runtime type.

Factory method for constructing com.fasterxml.jackson.databind.ObjectWriter that will serialize objects using specified root type, instead of actual runtime type of value. Type must be a super-type of runtime type.

Main reason for using this method is performance, as writer is able to pre-fetch serializer to use before write, and if writer is used more than once this avoids addition per-value serializer lookups.

Inherited from:
ClassTagExtensions
Inherited from:
ObjectMapper
def writerFor(x$0: TypeReference[_ <: <FromJavaObject>]): ObjectWriter
Inherited from:
ObjectMapper
def writerFor(x$0: Class[_ <: <FromJavaObject>]): ObjectWriter
Inherited from:
ObjectMapper

Factory method for constructing com.fasterxml.jackson.databind.ObjectWriter that will serialize objects using specified JSON View (filter).

Factory method for constructing com.fasterxml.jackson.databind.ObjectWriter that will serialize objects using specified JSON View (filter).

Inherited from:
ClassTagExtensions
def writerWithView(x$0: Class[_ <: <FromJavaObject>]): ObjectWriter
Inherited from:
ObjectMapper

Deprecated and Inherited methods

@Deprecated
final def addMixInAnnotations(x$0: Class[_ <: <FromJavaObject>], x$1: Class[_ <: <FromJavaObject>]): Unit
Deprecated
Inherited from:
ObjectMapper
final def addMixin[Target : ClassTag, MixinSource : ClassTag](): ObjectMapper

Method to use for adding mix-in annotations to use for augmenting specified class or interface. All annotations from mixinSource are taken to override annotations that target (or its supertypes) has.

Method to use for adding mix-in annotations to use for augmenting specified class or interface. All annotations from mixinSource are taken to override annotations that target (or its supertypes) has.

Type parameters:
MixinSource

Class (or interface) whose annotations are to be "added" to target's annotations, overriding as necessary

Target

Class (or interface) whose annotations to effectively override

Deprecated
Inherited from:
ClassTagExtensions
@Deprecated
Deprecated
Inherited from:
ObjectMapper
@Deprecated
Deprecated
Inherited from:
ObjectMapper
@Deprecated
Deprecated
Inherited from:
ObjectMapper
@Deprecated
Deprecated
Inherited from:
ObjectMapper
@Deprecated
Deprecated
Inherited from:
ObjectMapper
@Deprecated
Deprecated
Inherited from:
ObjectMapper
@Deprecated
Deprecated
Inherited from:
ObjectMapper
@Deprecated
Deprecated
Inherited from:
ObjectMapper
final def findMixInClassFor[T : ClassTag]: Class[_]
Deprecated
Inherited from:
ClassTagExtensions
@Deprecated
def generateJsonSchema(x$0: Class[_ <: <FromJavaObject>]): JsonSchema
Deprecated
Inherited from:
ObjectMapper
@Deprecated
Deprecated
Inherited from:
ObjectCodec
@Deprecated
def reader(x$0: TypeReference[_ <: <FromJavaObject>]): ObjectReader
Deprecated
Inherited from:
ObjectMapper
@Deprecated
def reader(x$0: Class[_ <: <FromJavaObject>]): ObjectReader
Deprecated
Inherited from:
ObjectMapper
@Deprecated
Deprecated
Inherited from:
ObjectMapper
@Deprecated
Deprecated
Inherited from:
ObjectMapper
@Deprecated
def setMixInAnnotations(x$0: Map[Class[_ <: <FromJavaObject>], Class[_ <: <FromJavaObject>]]): Unit
Deprecated
Inherited from:
ObjectMapper
@Deprecated
Deprecated
Inherited from:
ObjectMapper
@Deprecated
def setVisibilityChecker(x$0: VisibilityChecker[_ <: <FromJavaObject>]): Unit
Deprecated
Inherited from:
ObjectMapper
@Deprecated
Deprecated
Inherited from:
ObjectMapper
@Deprecated
def writerWithType(x$0: TypeReference[_ <: <FromJavaObject>]): ObjectWriter
Deprecated
Inherited from:
ObjectMapper
@Deprecated
def writerWithType(x$0: Class[_ <: <FromJavaObject>]): ObjectWriter
Deprecated
Inherited from:
ObjectMapper