final class Mixin extends JsonMapper with ScalaObjectMapper
- Alphabetic
- By Inheritance
- Mixin
- ScalaObjectMapper
- JsonMapper
- ObjectMapper
- Serializable
- ObjectCodec
- 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(arg0: String, arg1: AnyRef): Unit
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- def _checkInvalidCopy(arg0: Class[_ <: AnyRef]): Unit
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- def _constructDefaultTypeResolverBuilder(arg0: DefaultTyping, arg1: PolymorphicTypeValidator): TypeResolverBuilder[_ <: AnyRef]
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- def _convert(arg0: AnyRef, arg1: JavaType): AnyRef
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.lang.IllegalArgumentException])
- def _findRootDeserializer(arg0: DeserializationContext, arg1: JavaType): JsonDeserializer[AnyRef]
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- 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: AnyRef, 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: AnyRef): Unit
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException])
- def acceptJsonFormatVisitor[T](visitor: JsonFormatVisitorWrapper)(implicit arg0: Manifest[T]): Unit
Method for visiting type hierarchy for given type, using specified visitor.
Method for visiting type hierarchy for given type, using specified visitor.
This method can be used for things like generating Json Schema instance for specified type.
- T
Type to generate schema for (possibly with generic signature)
- Definition Classes
- ScalaObjectMapper
- Since
2.1
- def acceptJsonFormatVisitor(arg0: JavaType, arg1: JsonFormatVisitorWrapper): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
- def acceptJsonFormatVisitor(arg0: Class[_ <: AnyRef], arg1: JsonFormatVisitorWrapper): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
- 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[_ <: AnyRef], arg1: Class[_ <: AnyRef]): 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[_ <: AnyRef], arg1: AtomicReference[Throwable]): Boolean
- Definition Classes
- ObjectMapper
- def canSerialize(arg0: Class[_ <: AnyRef]): Boolean
- Definition Classes
- ObjectMapper
- def clearProblemHandlers(): ObjectMapper
- Definition Classes
- ObjectMapper
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def coercionConfigDefaults(): MutableCoercionConfig
- Definition Classes
- ObjectMapper
- def coercionConfigFor(arg0: Class[_ <: AnyRef]): MutableCoercionConfig
- Definition Classes
- ObjectMapper
- def coercionConfigFor(arg0: LogicalType): MutableCoercionConfig
- Definition Classes
- ObjectMapper
- def configOverride(arg0: Class[_ <: AnyRef]): 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 constructType[T](implicit m: Manifest[T]): JavaType
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.- Definition Classes
- ScalaObjectMapper
- def constructType(arg0: TypeReference[_ <: AnyRef]): JavaType
- Definition Classes
- ObjectMapper
- def constructType(arg0: Type): JavaType
- Definition Classes
- ObjectMapper
- def convertValue[T](fromValue: Any)(implicit arg0: Manifest[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
- ScalaObjectMapper
- Exceptions thrown
IllegalArgumentException
If conversion fails due to incompatible type; if so, root cause will contain underlying checked exception data binding functionality threw
- def convertValue[T <: AnyRef](arg0: AnyRef, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.lang.IllegalArgumentException])
- def convertValue[T <: AnyRef](arg0: AnyRef, arg1: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.lang.IllegalArgumentException])
- def convertValue[T <: AnyRef](arg0: AnyRef, arg1: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.lang.IllegalArgumentException])
- 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 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): 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[_ <: AnyRef]): Class[_ <: AnyRef]
- Definition Classes
- ObjectMapper
- final def getClass(): Class[_ <: AnyRef]
- 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[_ <: AnyRef]
- 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])
- 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(classOf[com.fasterxml.jackson.core.JsonProcessingException]) @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
- 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])
- def readValue[T](src: Array[Byte], offset: Int, len: Int)(implicit arg0: Manifest[T]): T
- Definition Classes
- ScalaObjectMapper
- def readValue[T](src: Array[Byte])(implicit arg0: Manifest[T]): T
- Definition Classes
- ScalaObjectMapper
- def readValue[T](src: InputStream)(implicit arg0: Manifest[T]): T
- Definition Classes
- ScalaObjectMapper
- def readValue[T](src: Reader)(implicit arg0: Manifest[T]): T
- Definition Classes
- ScalaObjectMapper
- def readValue[T](content: String)(implicit arg0: Manifest[T]): T
- Definition Classes
- ScalaObjectMapper
- def readValue[T](src: URL)(implicit arg0: Manifest[T]): T
- Definition Classes
- ScalaObjectMapper
- def readValue[T](src: File)(implicit arg0: Manifest[T]): T
- Definition Classes
- ScalaObjectMapper
- def readValue[T](jp: JsonParser)(implicit arg0: Manifest[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
- ScalaObjectMapper
- def readValue[T <: AnyRef](arg0: DataInput, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException])
- def readValue[T <: AnyRef](arg0: DataInput, arg1: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException])
- def readValue[T <: AnyRef](arg0: Array[Byte], arg1: Int, arg2: Int, arg3: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: Array[Byte], arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: Array[Byte], arg1: Int, arg2: Int, arg3: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: Array[Byte], arg1: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: Array[Byte], arg1: Int, arg2: Int, arg3: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: Array[Byte], arg1: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: InputStream, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: InputStream, arg1: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: InputStream, arg1: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: Reader, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: Reader, arg1: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: Reader, arg1: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: String, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[com.fasterxml.jackson.core.JsonProcessingException]) @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
- def readValue[T <: AnyRef](arg0: String, arg1: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[com.fasterxml.jackson.core.JsonProcessingException]) @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
- def readValue[T <: AnyRef](arg0: String, arg1: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[com.fasterxml.jackson.core.JsonProcessingException]) @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
- def readValue[T <: AnyRef](arg0: URL, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: URL, arg1: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: URL, arg1: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: File, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: File, arg1: TypeReference[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: File, arg1: Class[T]): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: JsonParser, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- final def readValue[T <: AnyRef](arg0: JsonParser, arg1: ResolvedType): T
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: JsonParser, arg1: TypeReference[T]): T
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValue[T <: AnyRef](arg0: JsonParser, arg1: Class[T]): T
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamReadException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def readValues[T](jp: JsonParser)(implicit arg0: Manifest[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_ARRAY
but rather to the token following it.Note that com.fasterxml.jackson.databind.ObjectReader has more complete set of variants.
- Definition Classes
- ScalaObjectMapper
- def readValues[T <: AnyRef](arg0: JsonParser, arg1: TypeReference[T]): MappingIterator[T]
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @throws(classOf[java.io.IOException])
- def readValues[T <: AnyRef](arg0: JsonParser, arg1: Class[T]): MappingIterator[T]
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @throws(classOf[java.io.IOException])
- def readValues[T <: AnyRef](arg0: JsonParser, arg1: JavaType): MappingIterator[T]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException])
- def readValues[T <: AnyRef](arg0: JsonParser, arg1: ResolvedType): MappingIterator[T]
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @throws(classOf[java.io.IOException])
- 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: Manifest[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
- ScalaObjectMapper
- def readerFor(arg0: TypeReference[_ <: AnyRef]): ObjectReader
- Definition Classes
- ObjectMapper
- def readerFor(arg0: Class[_ <: AnyRef]): ObjectReader
- Definition Classes
- ObjectMapper
- def readerFor(arg0: JavaType): ObjectReader
- Definition Classes
- ObjectMapper
- def readerForArrayOf(arg0: Class[_ <: AnyRef]): ObjectReader
- Definition Classes
- ObjectMapper
- def readerForListOf(arg0: Class[_ <: AnyRef]): ObjectReader
- Definition Classes
- ObjectMapper
- def readerForMapOf(arg0: Class[_ <: AnyRef]): ObjectReader
- Definition Classes
- ObjectMapper
- def readerForUpdating(arg0: AnyRef): ObjectReader
- Definition Classes
- ObjectMapper
- def readerWithView[T](implicit arg0: Manifest[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
- ScalaObjectMapper
- def readerWithView(arg0: Class[_ <: AnyRef]): 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[_ <: AnyRef]]): Unit
- Definition Classes
- ObjectMapper
- def registerSubtypes(arg0: <repeated...>[NamedType]): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @transient()
- def registerSubtypes(arg0: <repeated...>[Class[_ <: AnyRef]]): 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 setDefaultAttributes(arg0: ContextAttributes): 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[_ <: AnyRef]): 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[_ <: AnyRef], Class[_ <: AnyRef]]): 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[_ <: AnyRef]): 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: Manifest[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
- ScalaObjectMapper
- def treeToValue[T <: AnyRef](arg0: TreeNode, arg1: JavaType): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.lang.IllegalArgumentException]) @throws(classOf[com.fasterxml.jackson.core.JsonProcessingException])
- def treeToValue[T <: AnyRef](arg0: TreeNode, arg1: Class[T]): T
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @throws(classOf[java.lang.IllegalArgumentException]) @throws(classOf[com.fasterxml.jackson.core.JsonProcessingException])
- def updateValue[T](valueToUpdate: T, src: Array[Byte], offset: Int, len: Int)(implicit arg0: Manifest[T]): T
- Definition Classes
- ScalaObjectMapper
- def updateValue[T](valueToUpdate: T, src: Array[Byte])(implicit arg0: Manifest[T]): T
- Definition Classes
- ScalaObjectMapper
- def updateValue[T](valueToUpdate: T, src: InputStream)(implicit arg0: Manifest[T]): T
- Definition Classes
- ScalaObjectMapper
- def updateValue[T](valueToUpdate: T, src: Reader)(implicit arg0: Manifest[T]): T
- Definition Classes
- ScalaObjectMapper
- def updateValue[T](valueToUpdate: T, content: String)(implicit arg0: Manifest[T]): T
- Definition Classes
- ScalaObjectMapper
- def updateValue[T](valueToUpdate: T, src: URL)(implicit arg0: Manifest[T]): T
- Definition Classes
- ScalaObjectMapper
- def updateValue[T](valueToUpdate: T, src: File)(implicit arg0: Manifest[T]): T
- Definition Classes
- ScalaObjectMapper
- def updateValue[T <: AnyRef](arg0: T, arg1: AnyRef): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException])
- def valueToTree[T <: JsonNode](arg0: AnyRef): T
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.lang.IllegalArgumentException])
- def version(): Version
- Definition Classes
- JsonMapper → ObjectMapper → ObjectCodec → Versioned
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
- def writeTree(arg0: JsonGenerator, arg1: JsonNode): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException])
- def writeTree(arg0: JsonGenerator, arg1: TreeNode): Unit
- Definition Classes
- ObjectMapper → ObjectCodec → TreeCodec
- Annotations
- @throws(classOf[java.io.IOException])
- def writeValue(arg0: Writer, arg1: AnyRef): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamWriteException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def writeValue(arg0: DataOutput, arg1: AnyRef): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException])
- def writeValue(arg0: OutputStream, arg1: AnyRef): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamWriteException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def writeValue(arg0: File, arg1: AnyRef): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamWriteException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def writeValue(arg0: JsonGenerator, arg1: AnyRef): Unit
- Definition Classes
- ObjectMapper → ObjectCodec
- Annotations
- @throws(classOf[java.io.IOException]) @throws(classOf[com.fasterxml.jackson.core.exc.StreamWriteException]) @throws(classOf[com.fasterxml.jackson.databind.DatabindException])
- def writeValueAsBytes(arg0: AnyRef): Array[Byte]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[com.fasterxml.jackson.core.JsonProcessingException])
- def writeValueAsString(arg0: AnyRef): String
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[com.fasterxml.jackson.core.JsonProcessingException])
- 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: Manifest[T]): ObjectWriter
Factory method for constructing
com.fasterxml.jackson.databind.ObjectWriter
that will serialize objects using specified root type, instead of actual runtime type of value.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.
- Definition Classes
- ScalaObjectMapper
- Since
2.5
- def writerFor(arg0: JavaType): ObjectWriter
- Definition Classes
- ObjectMapper
- def writerFor(arg0: TypeReference[_ <: AnyRef]): ObjectWriter
- Definition Classes
- ObjectMapper
- def writerFor(arg0: Class[_ <: AnyRef]): ObjectWriter
- Definition Classes
- ObjectMapper
- def writerWithDefaultPrettyPrinter(): ObjectWriter
- Definition Classes
- ObjectMapper
- def writerWithView[T](implicit arg0: Manifest[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
- ScalaObjectMapper
- def writerWithView(arg0: Class[_ <: AnyRef]): ObjectWriter
- Definition Classes
- ObjectMapper
Deprecated Value Members
- final def _configAndWriteValue(arg0: JsonGenerator, arg1: AnyRef): Unit
- Attributes
- protected[databind]
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[java.io.IOException]) @Deprecated
- Deprecated
- final def addMixInAnnotations[Target, MixinSource]()(implicit arg0: Manifest[Target], arg1: Manifest[MixinSource]): ObjectMapper
- Definition Classes
- ScalaObjectMapper
- Annotations
- @deprecated
- Deprecated
(Since version 2.5) use addMixIn
- final def addMixInAnnotations(arg0: Class[_ <: AnyRef], arg1: Class[_ <: AnyRef]): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
- final def addMixin[Target, MixinSource]()(implicit arg0: Manifest[Target], arg1: Manifest[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
mixinSource
are 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
- ScalaObjectMapper
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.2) this support in jackson-databind is moving to the MapperBuilder
- def canDeserialize[T](implicit arg0: Manifest[T]): Boolean
Method that can be called to check whether mapper thinks it could deserialize an Object of given type.
Method that can be called to check whether mapper thinks it could deserialize an Object of given type. Check is done by checking whether a deserializer can be found for the type.
- returns
True if mapper can find a serializer for instances of given class (potentially serializable), false otherwise (not serializable)
- Definition Classes
- ScalaObjectMapper
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.1) jackson-databind will not implement this in v3.0.0
- def canSerialize[T](implicit arg0: Manifest[T]): Boolean
Method that can be called to check whether mapper thinks it could serialize an instance of given Class.
Method that can be called to check whether mapper thinks it could serialize an instance of given Class. Check is done by checking whether a serializer can be found for the type.
- returns
True if mapper can find a serializer for instances of given class (potentially serializable), false otherwise (not serializable)
- Definition Classes
- ScalaObjectMapper
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.1) jackson-databind will not implement this in v3.0.0
- def configure(arg0: MapperFeature, arg1: Boolean): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
- def disable(arg0: <repeated...>[MapperFeature]): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @transient() @Deprecated
- Deprecated
- def disableDefaultTyping(): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
- def enable(arg0: <repeated...>[MapperFeature]): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @transient() @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: Manifest[T]): Class[_]
- Definition Classes
- ScalaObjectMapper
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.2) this support in jackson-databind is moving to the MapperBuilder
- def generateJsonSchema[T](implicit arg0: Manifest[T]): JsonSchema
Generate Json-schema instance for specified class.
Generate Json-schema instance for specified class.
- T
The class to generate schema for
- returns
Constructed JSON schema.
- Definition Classes
- ScalaObjectMapper
- Annotations
- @deprecated
- Deprecated
(Since version 2.2.2) JsonSchema is deprecated in favor of JsonFormatVisitor
- def generateJsonSchema(arg0: Class[_ <: AnyRef]): JsonSchema
- Definition Classes
- ObjectMapper
- Annotations
- @throws(classOf[com.fasterxml.jackson.databind.JsonMappingException]) @Deprecated
- Deprecated
- def getJsonFactory(): JsonFactory
- Definition Classes
- ObjectCodec
- Annotations
- @Deprecated
- Deprecated
- def reader[T](implicit arg0: Manifest[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
- ScalaObjectMapper
- Annotations
- @deprecated
- Deprecated
(Since version 2.6) Replaced with readerFor
- def reader(arg0: TypeReference[_ <: AnyRef]): ObjectReader
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
- def reader(arg0: Class[_ <: AnyRef]): 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[_ <: AnyRef], Class[_ <: AnyRef]]): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
- def setPropertyInclusion(arg0: Value): ObjectMapper
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
- def setVisibilityChecker(arg0: VisibilityChecker[_ <: AnyRef]): Unit
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
- def writerWithType[T](implicit arg0: Manifest[T]): ObjectWriter
- Definition Classes
- ScalaObjectMapper
- Annotations
- @deprecated
- Deprecated
(Since version 2.5) Replaced with writerFor
- def writerWithType(arg0: JavaType): ObjectWriter
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
- def writerWithType(arg0: TypeReference[_ <: AnyRef]): ObjectWriter
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated
- def writerWithType(arg0: Class[_ <: AnyRef]): ObjectWriter
- Definition Classes
- ObjectMapper
- Annotations
- @Deprecated
- Deprecated