final class Mixin extends JsonMapper with ClassTagExtensions
- Alphabetic
- By Inheritance
- Mixin
- ClassTagExtensions
- JsonMapper
- ObjectMapper
- Serializable
- ObjectCodec
- Versioned
- TreeCodec
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
_assertNotNull(arg0: String, arg1: Any): Unit
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
-
def
_checkInvalidCopy(arg0: Class[_]): Unit
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
-
def
_constructDefaultTypeResolverBuilder(arg0: DefaultTyping, arg1: PolymorphicTypeValidator): TypeResolverBuilder[_]
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
-
def
_convert(arg0: Any, arg1: JavaType): AnyRef
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws( ... )
-
def
_findRootDeserializer(arg0: DeserializationContext, arg1: JavaType): JsonDeserializer[AnyRef]
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws( ... )
-
def
_initForReading(arg0: JsonParser, arg1: JavaType): JsonToken
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
_newReader(arg0: DeserializationConfig, arg1: JavaType, arg2: Any, arg3: FormatSchema, arg4: InjectableValues): ObjectReader
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
-
def
_newReader(arg0: DeserializationConfig): ObjectReader
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
-
def
_newWriter(arg0: SerializationConfig, arg1: JavaType, arg2: PrettyPrinter): ObjectWriter
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
-
def
_newWriter(arg0: SerializationConfig, arg1: FormatSchema): ObjectWriter
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
-
def
_newWriter(arg0: SerializationConfig): ObjectWriter
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
-
def
_readMapAndClose(arg0: JsonParser, arg1: JavaType): AnyRef
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
_readTreeAndClose(arg0: JsonParser): JsonNode
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
_readValue(arg0: DeserializationConfig, arg1: JsonParser, arg2: JavaType): AnyRef
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
_serializerProvider(arg0: SerializationConfig): DefaultSerializerProvider
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
-
final
def
_verifyNoTrailingTokens(arg0: JsonParser, arg1: DeserializationContext, arg2: JavaType): Unit
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
_verifySchemaType(arg0: FormatSchema): Unit
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
-
final
def
_writeValueAndClose(arg0: JsonGenerator, arg1: Any): Unit
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
acceptJsonFormatVisitor(arg0: JavaType, arg1: JsonFormatVisitorWrapper): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws( ... )
-
def
acceptJsonFormatVisitor(arg0: Class[_], arg1: JsonFormatVisitorWrapper): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws( ... )
-
def
activateDefaultTyping(arg0: PolymorphicTypeValidator, arg1: DefaultTyping, arg2: As): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
activateDefaultTyping(arg0: PolymorphicTypeValidator, arg1: DefaultTyping): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
activateDefaultTyping(arg0: PolymorphicTypeValidator): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
activateDefaultTypingAsProperty(arg0: PolymorphicTypeValidator, arg1: DefaultTyping, arg2: String): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
addHandler(arg0: DeserializationProblemHandler): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
addMixIn(arg0: Class[_], arg1: Class[_]): ObjectMapper
- Definition Classes
- ObjectMapper
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
canDeserialize(arg0: JavaType, arg1: AtomicReference[Throwable]): Boolean
- Definition Classes
- ObjectMapper
-
def
canDeserialize(arg0: JavaType): Boolean
- Definition Classes
- ObjectMapper
-
def
canSerialize(arg0: Class[_], arg1: AtomicReference[Throwable]): Boolean
- Definition Classes
- ObjectMapper
-
def
canSerialize(arg0: Class[_]): Boolean
- Definition Classes
- ObjectMapper
-
def
clearProblemHandlers(): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
coercionConfigDefaults(): MutableCoercionConfig
- Definition Classes
- ObjectMapper
-
def
coercionConfigFor(arg0: Class[_]): MutableCoercionConfig
- Definition Classes
- ObjectMapper
-
def
coercionConfigFor(arg0: LogicalType): MutableCoercionConfig
- Definition Classes
- ObjectMapper
-
def
configOverride(arg0: Class[_]): MutableConfigOverride
- Definition Classes
- ObjectMapper
-
def
configure(arg0: Feature, arg1: Boolean): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
configure(arg0: Feature, arg1: Boolean): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
configure(arg0: DeserializationFeature, arg1: Boolean): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
configure(arg0: SerializationFeature, arg1: Boolean): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
configure(arg0: MapperFeature, arg1: Boolean): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
constructType(arg0: TypeReference[_]): JavaType
- Definition Classes
- ObjectMapper
-
def
constructType(arg0: Type): JavaType
- Definition Classes
- ObjectMapper
-
def
convertValue[T](fromValue: Any)(implicit arg0: ClassTag[T]): T
Convenience method for doing two-step conversion from given value, into instance of given value type.
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.
- Definition Classes
- ClassTagExtensions
- Exceptions thrown
IllegalArgumentExceptionIf conversion fails due to incompatible type; if so, root cause will contain underlying checked exception data binding functionality threw
-
def
convertValue[T](arg0: Any, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( ... )
-
def
convertValue[T](arg0: Any, arg1: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( ... )
-
def
convertValue[T](arg0: Any, arg1: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( ... )
-
def
copy(): JsonMapper
- Definition Classes
- JsonMapper → ObjectMapper
-
def
createArrayNode(): ArrayNode
- Definition Classes
- ObjectMapper → ObjectCodec → TreeCodec
-
def
createDeserializationContext(arg0: JsonParser, arg1: DeserializationConfig): DefaultDeserializationContext
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
-
def
createGenerator(arg0: DataOutput): JsonGenerator
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
createGenerator(arg0: File, arg1: JsonEncoding): JsonGenerator
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
createGenerator(arg0: Writer): JsonGenerator
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
createGenerator(arg0: OutputStream, arg1: JsonEncoding): JsonGenerator
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
createGenerator(arg0: OutputStream): JsonGenerator
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
createNonBlockingByteArrayParser(): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
createObjectNode(): ObjectNode
- Definition Classes
- ObjectMapper → ObjectCodec → TreeCodec
-
def
createParser(arg0: DataInput): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
createParser(arg0: Array[Char], arg1: Int, arg2: Int): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
createParser(arg0: Array[Char]): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
createParser(arg0: String): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
createParser(arg0: Array[Byte], arg1: Int, arg2: Int): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
createParser(arg0: Array[Byte]): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
createParser(arg0: Reader): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
createParser(arg0: InputStream): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
createParser(arg0: URL): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
createParser(arg0: File): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
deactivateDefaultTyping(): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
defaultClassIntrospector(): ClassIntrospector
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
-
def
disable(arg0: <repeated...>[Feature]): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
-
def
disable(arg0: <repeated...>[Feature]): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
-
def
disable(arg0: DeserializationFeature, arg1: <repeated...>[DeserializationFeature]): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
-
def
disable(arg0: DeserializationFeature): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
disable(arg0: SerializationFeature, arg1: <repeated...>[SerializationFeature]): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
-
def
disable(arg0: SerializationFeature): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
disable(arg0: <repeated...>[MapperFeature]): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
-
def
enable(arg0: <repeated...>[Feature]): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
-
def
enable(arg0: <repeated...>[Feature]): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
-
def
enable(arg0: DeserializationFeature, arg1: <repeated...>[DeserializationFeature]): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
-
def
enable(arg0: DeserializationFeature): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
enable(arg0: SerializationFeature, arg1: <repeated...>[SerializationFeature]): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
-
def
enable(arg0: SerializationFeature): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
enable(arg0: <repeated...>[MapperFeature]): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findAndRegisterModules(): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
findMixInClassFor(arg0: Class[_]): Class[_]
- Definition Classes
- ObjectMapper
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getDateFormat(): DateFormat
- Definition Classes
- ObjectMapper
-
def
getDeserializationConfig(): DeserializationConfig
- Definition Classes
- ObjectMapper
-
def
getDeserializationContext(): DeserializationContext
- Definition Classes
- ObjectMapper
-
def
getFactory(): JsonFactory
- Definition Classes
- JsonMapper → ObjectMapper → ObjectCodec
-
def
getInjectableValues(): InjectableValues
- Definition Classes
- ObjectMapper
-
def
getNodeFactory(): JsonNodeFactory
- Definition Classes
- ObjectMapper
-
def
getPolymorphicTypeValidator(): PolymorphicTypeValidator
- Definition Classes
- ObjectMapper
-
def
getPropertyNamingStrategy(): PropertyNamingStrategy
- Definition Classes
- ObjectMapper
-
def
getRegisteredModuleIds(): Set[AnyRef]
- Definition Classes
- ObjectMapper
-
def
getSerializationConfig(): SerializationConfig
- Definition Classes
- ObjectMapper
-
def
getSerializerFactory(): SerializerFactory
- Definition Classes
- ObjectMapper
-
def
getSerializerProvider(): SerializerProvider
- Definition Classes
- ObjectMapper
-
def
getSerializerProviderInstance(): SerializerProvider
- Definition Classes
- ObjectMapper
-
def
getSubtypeResolver(): SubtypeResolver
- Definition Classes
- ObjectMapper
-
def
getTypeFactory(): TypeFactory
- Definition Classes
- ObjectMapper
-
def
getVisibilityChecker(): VisibilityChecker[_]
- Definition Classes
- ObjectMapper
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
isEnabled(arg0: JsonWriteFeature): Boolean
- Definition Classes
- JsonMapper
-
def
isEnabled(arg0: JsonReadFeature): Boolean
- Definition Classes
- JsonMapper
-
def
isEnabled(arg0: StreamWriteFeature): Boolean
- Definition Classes
- ObjectMapper
-
def
isEnabled(arg0: StreamReadFeature): Boolean
- Definition Classes
- ObjectMapper
-
def
isEnabled(arg0: Feature): Boolean
- Definition Classes
- ObjectMapper
-
def
isEnabled(arg0: Feature): Boolean
- Definition Classes
- ObjectMapper
-
def
isEnabled(arg0: Feature): Boolean
- Definition Classes
- ObjectMapper
-
def
isEnabled(arg0: DeserializationFeature): Boolean
- Definition Classes
- ObjectMapper
-
def
isEnabled(arg0: SerializationFeature): Boolean
- Definition Classes
- ObjectMapper
-
def
isEnabled(arg0: MapperFeature): Boolean
- Definition Classes
- ObjectMapper
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
missingNode(): JsonNode
- Definition Classes
- ObjectMapper → TreeCodec
-
def
mixInCount(): Int
- Definition Classes
- ObjectMapper
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
nullNode(): JsonNode
- Definition Classes
- ObjectMapper → TreeCodec
-
def
readTree(arg0: URL): JsonNode
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
readTree(arg0: File): JsonNode
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... )
-
def
readTree(arg0: Array[Byte], arg1: Int, arg2: Int): JsonNode
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
readTree(arg0: Array[Byte]): JsonNode
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
readTree(arg0: String): JsonNode
- Definition Classes
- ObjectMapper
- Annotations
- @throws( ... ) @throws( ... )
-
def
readTree(arg0: Reader): JsonNode
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
readTree(arg0: InputStream): JsonNode
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
readTree[T <: TreeNode](arg0: JsonParser): T
- Definition Classes
- ObjectMapper → ObjectCodec → TreeCodec
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... )
-
def
readValue[T](src: Array[Byte], offset: Int, len: Int)(implicit arg0: ClassTag[T]): T
- Definition Classes
- ClassTagExtensions
-
def
readValue[T](src: Array[Byte])(implicit arg0: ClassTag[T]): T
- Definition Classes
- ClassTagExtensions
-
def
readValue[T](src: InputStream)(implicit arg0: ClassTag[T]): T
- Definition Classes
- ClassTagExtensions
-
def
readValue[T](src: Reader)(implicit arg0: ClassTag[T]): T
- Definition Classes
- ClassTagExtensions
-
def
readValue[T](content: String)(implicit arg0: ClassTag[T]): T
- Definition Classes
- ClassTagExtensions
-
def
readValue[T](src: URL)(implicit arg0: ClassTag[T]): T
- Definition Classes
- ClassTagExtensions
-
def
readValue[T](src: File)(implicit arg0: ClassTag[T]): T
- Definition Classes
- ClassTagExtensions
-
def
readValue[T](jp: JsonParser)(implicit arg0: ClassTag[T]): T
Method to deserialize JSON content into a Java type, reference to which is passed as argument.
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.
- Definition Classes
- ClassTagExtensions
-
def
readValue[T](arg0: DataInput, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
readValue[T](arg0: DataInput, arg1: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
readValue[T](arg0: Array[Byte], arg1: Int, arg2: Int, arg3: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: Array[Byte], arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: Array[Byte], arg1: Int, arg2: Int, arg3: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: Array[Byte], arg1: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: Array[Byte], arg1: Int, arg2: Int, arg3: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: Array[Byte], arg1: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: InputStream, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: InputStream, arg1: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: InputStream, arg1: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: Reader, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: Reader, arg1: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: Reader, arg1: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: String, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: String, arg1: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: String, arg1: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: URL, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: URL, arg1: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: URL, arg1: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: File, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: File, arg1: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: File, arg1: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: JsonParser, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
final
def
readValue[T](arg0: JsonParser, arg1: ResolvedType): T
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: JsonParser, arg1: TypeReference[T]): T
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValue[T](arg0: JsonParser, arg1: Class[T]): T
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
readValues[T](jp: JsonParser)(implicit arg0: ClassTag[T]): MappingIterator[T]
Method for reading sequence of Objects from parser stream.
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_ARRAYbut rather to the token following it.Note that com.fasterxml.jackson.databind.ObjectReader has more complete set of variants.
- Definition Classes
- ClassTagExtensions
-
def
readValues[T](arg0: JsonParser, arg1: TypeReference[T]): MappingIterator[T]
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... )
-
def
readValues[T](arg0: JsonParser, arg1: Class[T]): MappingIterator[T]
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... )
-
def
readValues[T](arg0: JsonParser, arg1: JavaType): MappingIterator[T]
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... )
-
def
readValues[T](arg0: JsonParser, arg1: ResolvedType): MappingIterator[T]
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... )
-
def
reader(arg0: ContextAttributes): ObjectReader
- Definition Classes
- ObjectMapper
-
def
reader(arg0: Base64Variant): ObjectReader
- Definition Classes
- ObjectMapper
-
def
reader(arg0: InjectableValues): ObjectReader
- Definition Classes
- ObjectMapper
-
def
reader(arg0: FormatSchema): ObjectReader
- Definition Classes
- ObjectMapper
-
def
reader(arg0: JsonNodeFactory): ObjectReader
- Definition Classes
- ObjectMapper
-
def
reader(arg0: DeserializationFeature, arg1: <repeated...>[DeserializationFeature]): ObjectReader
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
-
def
reader(arg0: DeserializationFeature): ObjectReader
- Definition Classes
- ObjectMapper
-
def
reader(): ObjectReader
- Definition Classes
- ObjectMapper
-
def
readerFor[T](implicit arg0: ClassTag[T]): ObjectReader
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
- Definition Classes
- ClassTagExtensions
-
def
readerFor(arg0: TypeReference[_]): ObjectReader
- Definition Classes
- ObjectMapper
-
def
readerFor(arg0: Class[_]): ObjectReader
- Definition Classes
- ObjectMapper
-
def
readerFor(arg0: JavaType): ObjectReader
- Definition Classes
- ObjectMapper
-
def
readerForArrayOf(arg0: Class[_]): ObjectReader
- Definition Classes
- ObjectMapper
-
def
readerForListOf(arg0: Class[_]): ObjectReader
- Definition Classes
- ObjectMapper
-
def
readerForMapOf(arg0: Class[_]): ObjectReader
- Definition Classes
- ObjectMapper
-
def
readerForUpdating(arg0: Any): ObjectReader
- Definition Classes
- ObjectMapper
-
def
readerWithView[T](implicit arg0: ClassTag[T]): ObjectReader
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).
- Definition Classes
- ClassTagExtensions
-
def
readerWithView(arg0: Class[_]): ObjectReader
- Definition Classes
- ObjectMapper
-
def
rebuild(): Builder
- Definition Classes
- JsonMapper
-
def
registerModule(arg0: Module): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
registerModules(arg0: Iterable[_ <: Module]): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
registerModules(arg0: <repeated...>[Module]): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
-
def
registerSubtypes(arg0: Collection[Class[_]]): Unit
- Definition Classes
- ObjectMapper
-
def
registerSubtypes(arg0: <repeated...>[NamedType]): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
-
def
registerSubtypes(arg0: <repeated...>[Class[_]]): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
-
def
setAccessorNaming(arg0: Provider): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setAnnotationIntrospector(arg0: AnnotationIntrospector): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setAnnotationIntrospectors(arg0: AnnotationIntrospector, arg1: AnnotationIntrospector): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setBase64Variant(arg0: Base64Variant): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setConfig(arg0: SerializationConfig): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setConfig(arg0: DeserializationConfig): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setConstructorDetector(arg0: ConstructorDetector): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setDateFormat(arg0: DateFormat): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setDefaultLeniency(arg0: Boolean): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setDefaultMergeable(arg0: Boolean): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setDefaultPrettyPrinter(arg0: PrettyPrinter): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setDefaultPropertyInclusion(arg0: Include): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setDefaultPropertyInclusion(arg0: Value): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setDefaultSetterInfo(arg0: Value): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setDefaultTyping(arg0: TypeResolverBuilder[_]): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setDefaultVisibility(arg0: Value): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setFilterProvider(arg0: FilterProvider): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setHandlerInstantiator(arg0: HandlerInstantiator): AnyRef
- Definition Classes
- ObjectMapper
-
def
setInjectableValues(arg0: InjectableValues): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setLocale(arg0: Locale): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setMixInResolver(arg0: MixInResolver): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setMixIns(arg0: Map[Class[_], Class[_]]): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setNodeFactory(arg0: JsonNodeFactory): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setPolymorphicTypeValidator(arg0: PolymorphicTypeValidator): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setPropertyNamingStrategy(arg0: PropertyNamingStrategy): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setSerializationInclusion(arg0: Include): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setSerializerFactory(arg0: SerializerFactory): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setSerializerProvider(arg0: DefaultSerializerProvider): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setSubtypeResolver(arg0: SubtypeResolver): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setTimeZone(arg0: TimeZone): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setTypeFactory(arg0: TypeFactory): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setVisibility(arg0: PropertyAccessor, arg1: Visibility): ObjectMapper
- Definition Classes
- ObjectMapper
-
def
setVisibility(arg0: VisibilityChecker[_]): ObjectMapper
- Definition Classes
- ObjectMapper
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
tokenStreamFactory(): JsonFactory
- Definition Classes
- ObjectMapper
-
def
treeAsTokens(arg0: TreeNode): JsonParser
- Definition Classes
- ObjectMapper → ObjectCodec → TreeCodec
-
def
treeToValue[T](n: TreeNode)(implicit arg0: ClassTag[T]): T
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);
- Definition Classes
- ClassTagExtensions
-
def
treeToValue[T](arg0: TreeNode, arg1: Class[T]): T
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @throws( ... ) @throws( ... )
-
def
updateValue[T](valueToUpdate: T, src: Array[Byte], offset: Int, len: Int)(implicit arg0: ClassTag[T]): T
- Definition Classes
- ClassTagExtensions
-
def
updateValue[T](valueToUpdate: T, src: Array[Byte])(implicit arg0: ClassTag[T]): T
- Definition Classes
- ClassTagExtensions
-
def
updateValue[T](valueToUpdate: T, src: InputStream)(implicit arg0: ClassTag[T]): T
- Definition Classes
- ClassTagExtensions
-
def
updateValue[T](valueToUpdate: T, src: Reader)(implicit arg0: ClassTag[T]): T
- Definition Classes
- ClassTagExtensions
-
def
updateValue[T](valueToUpdate: T, content: String)(implicit arg0: ClassTag[T]): T
- Definition Classes
- ClassTagExtensions
-
def
updateValue[T](valueToUpdate: T, src: URL)(implicit arg0: ClassTag[T]): T
- Definition Classes
- ClassTagExtensions
-
def
updateValue[T](valueToUpdate: T, src: File)(implicit arg0: ClassTag[T]): T
- Definition Classes
- ClassTagExtensions
-
def
updateValue[T](arg0: T, arg1: Any): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( ... )
-
def
valueToTree[T <: JsonNode](arg0: Any): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws( ... )
-
def
version(): Version
- Definition Classes
- JsonMapper → ObjectMapper → ObjectCodec → Versioned
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
writeTree(arg0: JsonGenerator, arg1: JsonNode): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... )
-
def
writeTree(arg0: JsonGenerator, arg1: TreeNode): Unit
- Definition Classes
- ObjectMapper → ObjectCodec → TreeCodec
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... )
-
def
writeValue(arg0: Writer, arg1: Any): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
writeValue(arg0: DataOutput, arg1: Any): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] )
-
def
writeValue(arg0: OutputStream, arg1: Any): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
writeValue(arg0: File, arg1: Any): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
writeValue(arg0: JsonGenerator, arg1: Any): Unit
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @throws( classOf[java.io.IOException] ) @throws( ... ) @throws( ... )
-
def
writeValueAsBytes(arg0: Any): Array[Byte]
- Definition Classes
- ObjectMapper
- Annotations
- @throws( ... )
-
def
writeValueAsString(arg0: Any): String
- Definition Classes
- ObjectMapper
- Annotations
- @throws( ... )
-
def
writer(arg0: ContextAttributes): ObjectWriter
- Definition Classes
- ObjectMapper
-
def
writer(arg0: CharacterEscapes): ObjectWriter
- Definition Classes
- ObjectMapper
-
def
writer(arg0: Base64Variant): ObjectWriter
- Definition Classes
- ObjectMapper
-
def
writer(arg0: FormatSchema): ObjectWriter
- Definition Classes
- ObjectMapper
-
def
writer(arg0: FilterProvider): ObjectWriter
- Definition Classes
- ObjectMapper
-
def
writer(arg0: PrettyPrinter): ObjectWriter
- Definition Classes
- ObjectMapper
-
def
writer(arg0: DateFormat): ObjectWriter
- Definition Classes
- ObjectMapper
-
def
writer(arg0: SerializationFeature, arg1: <repeated...>[SerializationFeature]): ObjectWriter
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
-
def
writer(arg0: SerializationFeature): ObjectWriter
- Definition Classes
- ObjectMapper
-
def
writer(): ObjectWriter
- Definition Classes
- ObjectMapper
-
def
writerFor[T](implicit arg0: ClassTag[T]): ObjectWriter
Factory method for constructing
com.fasterxml.jackson.databind.ObjectWriterthat will serialize objects using specified root type, instead of actual runtime type of value.Factory method for constructing
com.fasterxml.jackson.databind.ObjectWriterthat 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.
- Definition Classes
- ClassTagExtensions
- Since
2.5
-
def
writerFor(arg0: JavaType): ObjectWriter
- Definition Classes
- ObjectMapper
-
def
writerFor(arg0: TypeReference[_]): ObjectWriter
- Definition Classes
- ObjectMapper
-
def
writerFor(arg0: Class[_]): ObjectWriter
- Definition Classes
- ObjectMapper
-
def
writerWithDefaultPrettyPrinter(): ObjectWriter
- Definition Classes
- ObjectMapper
-
def
writerWithView[T](implicit arg0: ClassTag[T]): ObjectWriter
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).
- Definition Classes
- ClassTagExtensions
-
def
writerWithView(arg0: Class[_]): ObjectWriter
- Definition Classes
- ObjectMapper
Deprecated Value Members
-
final
def
_configAndWriteValue(arg0: JsonGenerator, arg1: Any): Unit
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @Deprecated
- Deprecated
-
def
_initForReading(arg0: JsonParser): JsonToken
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws( classOf[java.io.IOException] ) @Deprecated
- Deprecated
-
final
def
addMixInAnnotations(arg0: Class[_], arg1: Class[_]): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
-
final
def
addMixin[Target, MixinSource]()(implicit arg0: ClassTag[Target], arg1: ClassTag[MixinSource]): ObjectMapper
Method to use for adding mix-in annotations to use for augmenting specified class or interface.
Method to use for adding mix-in annotations to use for augmenting specified class or interface. All annotations from
mixinSourceare taken to override annotations thattarget(or its supertypes) has.- Target
Class (or interface) whose annotations to effectively override
- MixinSource
Class (or interface) whose annotations are to be "added" to target's annotations, overriding as necessary
- Definition Classes
- ClassTagExtensions
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.2) this support in jackson-databind is moving to the MapperBuilder
-
def
disableDefaultTyping(): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
-
def
enableDefaultTyping(arg0: DefaultTyping, arg1: As): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
-
def
enableDefaultTyping(arg0: DefaultTyping): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
-
def
enableDefaultTyping(): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
-
def
enableDefaultTypingAsProperty(arg0: DefaultTyping, arg1: String): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
-
final
def
findMixInClassFor[T](implicit arg0: ClassTag[T]): Class[_]
- Definition Classes
- ClassTagExtensions
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.2) this support in jackson-databind is moving to the MapperBuilder
-
def
generateJsonSchema(arg0: Class[_]): JsonSchema
- Definition Classes
- ObjectMapper
- Annotations
- @throws( ... ) @Deprecated
- Deprecated
-
def
getJsonFactory(): JsonFactory
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @Deprecated
- Deprecated
-
def
reader(arg0: TypeReference[_]): ObjectReader
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
-
def
reader(arg0: Class[_]): ObjectReader
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
-
def
reader(arg0: JavaType): ObjectReader
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
-
def
setFilters(arg0: FilterProvider): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
-
def
setMixInAnnotations(arg0: Map[Class[_], Class[_]]): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
-
def
setPropertyInclusion(arg0: Value): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
-
def
setVisibilityChecker(arg0: VisibilityChecker[_]): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
-
def
writerWithType(arg0: JavaType): ObjectWriter
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
-
def
writerWithType(arg0: TypeReference[_]): ObjectWriter
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
-
def
writerWithType(arg0: Class[_]): ObjectWriter
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated