final class Mixin extends JsonMapper with ClassTagExtensions
- Alphabetic
- By Inheritance
- Mixin
- ClassTagExtensions
- JsonMapper
- ObjectMapper
- Serializable
- Versioned
- TreeCodec
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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(paramName: String, src: AnyRef): Unit
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- final def _configAndWriteValue(ctxt: SerializationContextExt, g: JsonGenerator, value: AnyRef): Unit
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def _convert(fromValue: AnyRef, toValueType: JavaType): AnyRef
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def _deserializationContext(): DeserializationContextExt
- Definition Classes
- ObjectMapper
- def _deserializationContext(p: JsonParser): DeserializationContextExt
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- def _findRootDeserializer(ctxt: DeserializationContext, valueType: JavaType): ValueDeserializer[AnyRef]
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def _initForReading(p: JsonParser, targetType: JavaType): JsonToken
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def _initializeGenerator(gen: JsonGenerator): JsonGenerator
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- def _newReader(config: DeserializationConfig, valueType: JavaType, valueToUpdate: AnyRef, schema: FormatSchema, injectableValues: InjectableValues): ObjectReader
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- def _newReader(config: DeserializationConfig): ObjectReader
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- def _newWriter(config: SerializationConfig, rootType: JavaType, pp: PrettyPrinter): ObjectWriter
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- def _newWriter(config: SerializationConfig, schema: FormatSchema): ObjectWriter
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- def _newWriter(config: SerializationConfig): ObjectWriter
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- def _readMapAndClose(ctxt: DeserializationContextExt, p0: JsonParser, valueType: JavaType): AnyRef
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def _readTreeAndClose(ctxt: DeserializationContextExt, p0: JsonParser): JsonNode
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def _readValue(ctxt: DeserializationContextExt, p: JsonParser, valueType: JavaType): AnyRef
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def _serializationContext(): SerializationContextExt
- Definition Classes
- ObjectMapper
- def _serializationContext(config: SerializationConfig): SerializationContextExt
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- final def _verifyNoTrailingTokens(p: JsonParser, ctxt: DeserializationContext, bindType: JavaType): Unit
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def _verifySchemaType(schema: FormatSchema): Unit
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- final def _writeCloseableValue(g: JsonGenerator, value: AnyRef, cfg: SerializationConfig): Unit
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def acceptJsonFormatVisitor(type: JavaType, visitor: JsonFormatVisitorWrapper): Unit
- Definition Classes
- ObjectMapper
- def acceptJsonFormatVisitor(typeRef: TypeReference[_ <: AnyRef], visitor: JsonFormatVisitorWrapper): Unit
- Definition Classes
- ObjectMapper
- def acceptJsonFormatVisitor(type: Class[_ <: AnyRef], visitor: JsonFormatVisitorWrapper): Unit
- Definition Classes
- ObjectMapper
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def booleanNode(b: Boolean): JsonNode
- Definition Classes
- ObjectMapper → TreeCodec
- def clearCaches(): Unit
- Definition Classes
- ObjectMapper
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def constructType[T](implicit arg0: JavaTypeable[T]): JavaType
Convenience method for constructing tools.jackson.databind.JavaType out of given type (typically
java.lang.Class), but without explicit context.Convenience method for constructing tools.jackson.databind.JavaType out of given type (typically
java.lang.Class), but without explicit context.- Definition Classes
- ClassTagExtensions
- def constructType(typeReference: TypeReference[_ <: AnyRef]): JavaType
- Definition Classes
- ObjectMapper
- def constructType(type: Type): JavaType
- Definition Classes
- ObjectMapper
- def convertValue[T](fromValue: Any)(implicit arg0: JavaTypeable[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
java.lang.IllegalArgumentExceptionIf conversion fails due to incompatible type; if so, root cause will contain underlying checked exception data binding functionality threw
- def convertValue[T <: AnyRef](fromValue: AnyRef, toValueType: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.lang.IllegalArgumentException])
- def convertValue[T <: AnyRef](fromValue: AnyRef, toValueTypeRef: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.lang.IllegalArgumentException])
- def convertValue[T <: AnyRef](fromValue: AnyRef, toValueType: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.lang.IllegalArgumentException])
- def createArrayNode(): ArrayNode
- Definition Classes
- ObjectMapper → TreeCodec
- def createGenerator(out: DataOutput): JsonGenerator
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createGenerator(path: Path, enc: JsonEncoding): JsonGenerator
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createGenerator(f: File, enc: JsonEncoding): JsonGenerator
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createGenerator(w: Writer): JsonGenerator
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createGenerator(out: OutputStream, enc: JsonEncoding): JsonGenerator
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createGenerator(out: OutputStream): JsonGenerator
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createNonBlockingByteArrayParser(): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createNonBlockingByteBufferParser(): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createObjectNode(): ObjectNode
- Definition Classes
- ObjectMapper → TreeCodec
- def createParser(content: DataInput): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createParser(content: Array[Char], offset: Int, len: Int): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createParser(content: Array[Char]): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createParser(content: String): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createParser(content: Array[Byte], offset: Int, len: Int): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createParser(content: Array[Byte]): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createParser(r: Reader): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createParser(in: InputStream): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createParser(src: Path): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def createParser(src: File): JsonParser
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def deserializationConfig(): DeserializationConfig
- Definition Classes
- ObjectMapper
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getInjectableValues(): InjectableValues
- Definition Classes
- ObjectMapper
- def getNodeFactory(): JsonNodeFactory
- Definition Classes
- ObjectMapper
- def getTypeFactory(): TypeFactory
- Definition Classes
- ObjectMapper
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def isEnabled(f: JsonWriteFeature): Boolean
- Definition Classes
- JsonMapper
- def isEnabled(f: JsonReadFeature): Boolean
- Definition Classes
- JsonMapper
- def isEnabled(f: DatatypeFeature): Boolean
- Definition Classes
- ObjectMapper
- def isEnabled(f: SerializationFeature): Boolean
- Definition Classes
- ObjectMapper
- def isEnabled(f: DeserializationFeature): Boolean
- Definition Classes
- ObjectMapper
- def isEnabled(f: MapperFeature): Boolean
- Definition Classes
- ObjectMapper
- def isEnabled(f: StreamWriteFeature): Boolean
- Definition Classes
- ObjectMapper
- def isEnabled(f: StreamReadFeature): Boolean
- Definition Classes
- ObjectMapper
- def isEnabled(f: Feature): Boolean
- Definition Classes
- ObjectMapper
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def missingNode(): JsonNode
- Definition Classes
- ObjectMapper → TreeCodec
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def nullNode(): JsonNode
- Definition Classes
- ObjectMapper → TreeCodec
- def readResolve(): AnyRef
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- def readTree(jsonParser: JsonParser): JsonNode
- Definition Classes
- Mixin → ObjectMapper → TreeCodec
- def readTree(src: TokenBuffer): JsonNode
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readTree(path: Path): JsonNode
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readTree(file: File): JsonNode
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readTree(content: Array[Byte], offset: Int, len: Int): JsonNode
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readTree(content: Array[Byte]): JsonNode
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readTree(content: String): JsonNode
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readTree(r: Reader): JsonNode
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readTree(in: InputStream): JsonNode
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T](src: Array[Byte], offset: Int, len: Int)(implicit arg0: JavaTypeable[T]): T
- Definition Classes
- ClassTagExtensions
- def readValue[T](src: Array[Byte])(implicit arg0: JavaTypeable[T]): T
- Definition Classes
- ClassTagExtensions
- def readValue[T](src: InputStream)(implicit arg0: JavaTypeable[T]): T
- Definition Classes
- ClassTagExtensions
- def readValue[T](src: Reader)(implicit arg0: JavaTypeable[T]): T
- Definition Classes
- ClassTagExtensions
- def readValue[T](content: String)(implicit arg0: JavaTypeable[T]): T
- Definition Classes
- ClassTagExtensions
- def readValue[T](src: File)(implicit arg0: JavaTypeable[T]): T
- Definition Classes
- ClassTagExtensions
- def readValue[T](jp: JsonParser)(implicit arg0: JavaTypeable[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 <: AnyRef](src: TokenBuffer, valueTypeRef: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: TokenBuffer, valueType: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: TokenBuffer, valueType: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: DataInput, valueTypeRef: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: DataInput, valueType: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: DataInput, valueType: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](content: Array[Byte], offset: Int, len: Int, valueType: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](content: Array[Byte], valueType: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](content: Array[Byte], offset: Int, len: Int, valueTypeRef: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](content: Array[Byte], valueTypeRef: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](content: Array[Byte], offset: Int, len: Int, valueType: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](content: Array[Byte], valueType: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: InputStream, valueType: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: InputStream, valueTypeRef: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: InputStream, valueType: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: Reader, valueType: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: Reader, valueTypeRef: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: Reader, valueType: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](content: String, valueType: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](content: String, valueTypeRef: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](content: String, valueType: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: Path, valueType: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: Path, valueTypeRef: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: Path, valueType: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: File, valueType: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: File, valueTypeRef: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](src: File, valueType: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](p: JsonParser, valueType: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](p: JsonParser, valueType: ResolvedType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](p: JsonParser, valueTypeRef: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValue[T <: AnyRef](p: JsonParser, valueType: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValues[T](jp: JsonParser)(implicit arg0: JavaTypeable[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 tools.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 tools.jackson.databind.ObjectReader has more complete set of variants.
- Definition Classes
- ClassTagExtensions
- def readValues[T <: AnyRef](p: JsonParser, valueType: TypeReference[T]): MappingIterator[T]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValues[T <: AnyRef](p: JsonParser, valueType: Class[T]): MappingIterator[T]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def readValues[T <: AnyRef](p: JsonParser, valueType: JavaType): MappingIterator[T]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def reader(attrs: ContextAttributes): ObjectReader
- Definition Classes
- ObjectMapper
- def reader(defaultBase64: Base64Variant): ObjectReader
- Definition Classes
- ObjectMapper
- def reader(injectableValues: InjectableValues): ObjectReader
- Definition Classes
- ObjectMapper
- def reader(schema: FormatSchema): ObjectReader
- Definition Classes
- ObjectMapper
- def reader(nodeFactory: JsonNodeFactory): ObjectReader
- Definition Classes
- ObjectMapper
- def reader(feature: DatatypeFeature): ObjectReader
- Definition Classes
- ObjectMapper
- def reader(first: DeserializationFeature, other: <repeated...>[DeserializationFeature]): ObjectReader
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
- def reader(feature: DeserializationFeature): ObjectReader
- Definition Classes
- ObjectMapper
- def reader(): ObjectReader
- Definition Classes
- ObjectMapper
- def readerFor[T](implicit arg0: JavaTypeable[T]): ObjectReader
Factory method for constructing tools.jackson.databind.ObjectReader that will read or update instances of specified type
Factory method for constructing tools.jackson.databind.ObjectReader that will read or update instances of specified type
- Definition Classes
- ClassTagExtensions
- def readerFor(typeRef: TypeReference[_ <: AnyRef]): ObjectReader
- Definition Classes
- ObjectMapper
- def readerFor(type: Class[_ <: AnyRef]): ObjectReader
- Definition Classes
- ObjectMapper
- def readerFor(type: JavaType): ObjectReader
- Definition Classes
- ObjectMapper
- def readerForArrayOf(type: Class[_ <: AnyRef]): ObjectReader
- Definition Classes
- ObjectMapper
- def readerForListOf(type: Class[_ <: AnyRef]): ObjectReader
- Definition Classes
- ObjectMapper
- def readerForMapOf(type: Class[_ <: AnyRef]): ObjectReader
- Definition Classes
- ObjectMapper
- def readerForUpdating(valueToUpdate: AnyRef): ObjectReader
- Definition Classes
- ObjectMapper
- def readerWithView[T](implicit arg0: ClassTag[T]): ObjectReader
Factory method for constructing tools.jackson.databind.ObjectReader that will deserialize objects using specified JSON View (filter).
Factory method for constructing tools.jackson.databind.ObjectReader that will deserialize objects using specified JSON View (filter).
- Definition Classes
- ClassTagExtensions
- def readerWithView(view: Class[_ <: AnyRef]): ObjectReader
- Definition Classes
- ObjectMapper
- def rebuild(): Builder
- Definition Classes
- JsonMapper
- def rebuild[M <: ObjectMapper, B <: MapperBuilder[M, B]](): MapperBuilder[M, B]
- Definition Classes
- ObjectMapper
- def registeredModules(): Collection[databind.JacksonModule]
- Definition Classes
- ObjectMapper
- def serializationConfig(): SerializationConfig
- Definition Classes
- ObjectMapper
- def stringNode(text: String): JsonNode
- Definition Classes
- ObjectMapper → TreeCodec
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tokenStreamFactory(): JsonFactory
- Definition Classes
- JsonMapper → ObjectMapper
- def treeAsTokens(n: JsonNode): JsonParser
- Definition Classes
- ObjectMapper → TreeCodec
- def treeToValue[T](n: TreeNode)(implicit arg0: JavaTypeable[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 <: AnyRef](n: JsonNode, toValueTypeRef: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def treeToValue[T <: AnyRef](n: JsonNode, valueType: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def treeToValue[T <: AnyRef](n: JsonNode, valueType: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def updateValue[T](valueToUpdate: T, src: Array[Byte], offset: Int, len: Int)(implicit arg0: JavaTypeable[T]): T
- Definition Classes
- ClassTagExtensions
- def updateValue[T](valueToUpdate: T, src: Array[Byte])(implicit arg0: JavaTypeable[T]): T
- Definition Classes
- ClassTagExtensions
- def updateValue[T](valueToUpdate: T, src: InputStream)(implicit arg0: JavaTypeable[T]): T
- Definition Classes
- ClassTagExtensions
- def updateValue[T](valueToUpdate: T, src: Reader)(implicit arg0: JavaTypeable[T]): T
- Definition Classes
- ClassTagExtensions
- def updateValue[T](valueToUpdate: T, content: String)(implicit arg0: JavaTypeable[T]): T
- Definition Classes
- ClassTagExtensions
- def updateValue[T](valueToUpdate: T, src: File)(implicit arg0: JavaTypeable[T]): T
- Definition Classes
- ClassTagExtensions
- def updateValue[T <: AnyRef](valueToUpdate: T, overrides: AnyRef): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def valueToTree[T <: JsonNode](fromValue: AnyRef): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def version(): Version
- Definition Classes
- JsonMapper → ObjectMapper → Versioned
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def writeReplace(): AnyRef
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- def writeTree(g: JsonGenerator, rootNode: JsonNode): Unit
- Definition Classes
- ObjectMapper → TreeCodec
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def writeValue(w: Writer, value: AnyRef): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def writeValue(out: DataOutput, value: AnyRef): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def writeValue(out: OutputStream, value: AnyRef): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def writeValue(path: Path, value: AnyRef): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def writeValue(file: File, value: AnyRef): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def writeValue(g: JsonGenerator, value: AnyRef): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def writeValueAsBytes(value: AnyRef): Array[Byte]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def writeValueAsString(value: AnyRef): String
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def writeValueIntoBuffer(value: AnyRef): TokenBuffer
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException])
- def writer(attrs: ContextAttributes): ObjectWriter
- Definition Classes
- ObjectMapper
- def writer(escapes: CharacterEscapes): ObjectWriter
- Definition Classes
- ObjectMapper
- def writer(defaultBase64: Base64Variant): ObjectWriter
- Definition Classes
- ObjectMapper
- def writer(schema: FormatSchema): ObjectWriter
- Definition Classes
- ObjectMapper
- def writer(filterProvider: FilterProvider): ObjectWriter
- Definition Classes
- ObjectMapper
- def writer(df: DateFormat): ObjectWriter
- Definition Classes
- ObjectMapper
- def writer(f: DatatypeFeature): ObjectWriter
- Definition Classes
- ObjectMapper
- def writer(first: SerializationFeature, other: <repeated...>[SerializationFeature]): ObjectWriter
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
- def writer(feature: SerializationFeature): ObjectWriter
- Definition Classes
- ObjectMapper
- def writer(): ObjectWriter
- Definition Classes
- ObjectMapper
- def writerFor[T](implicit arg0: JavaTypeable[T]): ObjectWriter
Factory method for constructing tools.jackson.databind.ObjectWriter that will serialize objects using specified root type, instead of actual runtime type of value.
Factory method for constructing tools.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.
- Definition Classes
- ClassTagExtensions
- def writerFor(rootType: JavaType): ObjectWriter
- Definition Classes
- ObjectMapper
- def writerFor(rootType: TypeReference[_ <: AnyRef]): ObjectWriter
- Definition Classes
- ObjectMapper
- def writerFor(rootType: Class[_ <: AnyRef]): ObjectWriter
- Definition Classes
- ObjectMapper
- def writerWithDefaultPrettyPrinter(): ObjectWriter
- Definition Classes
- ObjectMapper
- def writerWithView[T](implicit arg0: ClassTag[T]): ObjectWriter
Factory method for constructing tools.jackson.databind.ObjectWriter that will serialize objects using specified JSON View (filter).
Factory method for constructing tools.jackson.databind.ObjectWriter that will serialize objects using specified JSON View (filter).
- Definition Classes
- ClassTagExtensions
- def writerWithView(serializationView: Class[_ <: AnyRef]): ObjectWriter
- Definition Classes
- ObjectMapper
Deprecated Value Members
- def _deserializationContext(config: DeserializationConfig, p: JsonParser): DeserializationContextExt
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def treeToValue[T <: AnyRef](n: TreeNode, toValueTypeRef: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException]) @Deprecated
- Deprecated
- def treeToValue[T <: AnyRef](n: TreeNode, valueType: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException]) @Deprecated
- Deprecated
- def treeToValue[T <: AnyRef](n: TreeNode, valueType: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[tools.jackson.core.JacksonException]) @Deprecated
- Deprecated