Uses of Class
com.fasterxml.jackson.databind.util.NameTransformer
-
Packages that use NameTransformer Package Description com.fasterxml.jackson.databind Basic data binding (mapping) functionality that allows for reading JSON content into Java Objects (POJOs) and JSON Trees (JsonNode
), as well as writing Java Objects and trees as JSON.com.fasterxml.jackson.databind.deser Contains implementation classes of deserialization part of data binding.com.fasterxml.jackson.databind.deser.impl Contains those implementation classes of deserialization part of data binding that are not considered part of public or semi-public interfaces.com.fasterxml.jackson.databind.deser.std Contains public standard implementations of abstraction that Jackson uses.com.fasterxml.jackson.databind.introspect Functionality needed for Bean introspection, required for detecting accessors and mutators for Beans, as well as locating and handling method annotations.com.fasterxml.jackson.databind.ser Contains implementation classes of serialization part of data binding.com.fasterxml.jackson.databind.ser.impl Contains implementation classes of serialization part of data binding.com.fasterxml.jackson.databind.ser.std com.fasterxml.jackson.databind.util Utility classes for Mapper package. -
-
Uses of NameTransformer in com.fasterxml.jackson.databind
Methods in com.fasterxml.jackson.databind that return NameTransformer Modifier and Type Method Description NameTransformer
AnnotationIntrospector. findUnwrappingNameTransformer(AnnotatedMember member)
Method called to check whether given property is marked to be "unwrapped" when being serialized (and appropriately handled in reverse direction, i.e.Methods in com.fasterxml.jackson.databind with parameters of type NameTransformer Modifier and Type Method Description JsonDeserializer<T>
JsonDeserializer. unwrappingDeserializer(NameTransformer unwrapper)
Method that will return deserializer instance that is able to handle "unwrapped" value instances If no unwrapped instance can be constructed, will simply return this object as-is.JsonSerializer<T>
JsonSerializer. unwrappingSerializer(NameTransformer unwrapper)
Method that will return serializer instance that produces "unwrapped" serialization, if applicable for type being serialized (which is the case for some serializers that produce JSON Objects as output). -
Uses of NameTransformer in com.fasterxml.jackson.databind.deser
Methods in com.fasterxml.jackson.databind.deser that return NameTransformer Modifier and Type Method Description protected NameTransformer
BeanDeserializerBase. _findPropertyUnwrapper(DeserializationContext ctxt, SettableBeanProperty prop)
Helper method called to see if given property might be so-called unwrapped property: these require special handling.Methods in com.fasterxml.jackson.databind.deser with parameters of type NameTransformer Modifier and Type Method Description JsonDeserializer<java.lang.Object>
BeanDeserializer. unwrappingDeserializer(NameTransformer transformer)
abstract JsonDeserializer<java.lang.Object>
BeanDeserializerBase. unwrappingDeserializer(NameTransformer unwrapper)
JsonDeserializer<java.lang.Object>
BuilderBasedDeserializer. unwrappingDeserializer(NameTransformer unwrapper)
Constructors in com.fasterxml.jackson.databind.deser with parameters of type NameTransformer Constructor Description BeanDeserializer(BeanDeserializerBase src, NameTransformer unwrapper)
BeanDeserializerBase(BeanDeserializerBase src, NameTransformer unwrapper)
BuilderBasedDeserializer(BuilderBasedDeserializer src, NameTransformer unwrapper)
-
Uses of NameTransformer in com.fasterxml.jackson.databind.deser.impl
Methods in com.fasterxml.jackson.databind.deser.impl with parameters of type NameTransformer Modifier and Type Method Description protected SettableBeanProperty
BeanPropertyMap. _rename(SettableBeanProperty prop, NameTransformer xf)
BeanPropertyMap
BeanPropertyMap. renameAll(NameTransformer transformer)
Mutant factory method for constructing a map where all entries use given prefixUnwrappedPropertyHandler
UnwrappedPropertyHandler. renameAll(NameTransformer transformer)
JsonDeserializer<java.lang.Object>
BeanAsArrayBuilderDeserializer. unwrappingDeserializer(NameTransformer unwrapper)
JsonDeserializer<java.lang.Object>
BeanAsArrayDeserializer. unwrappingDeserializer(NameTransformer unwrapper)
-
Uses of NameTransformer in com.fasterxml.jackson.databind.deser.std
Methods in com.fasterxml.jackson.databind.deser.std with parameters of type NameTransformer Modifier and Type Method Description JsonDeserializer<java.lang.Object>
ThrowableDeserializer. unwrappingDeserializer(NameTransformer unwrapper)
Constructors in com.fasterxml.jackson.databind.deser.std with parameters of type NameTransformer Constructor Description ThrowableDeserializer(BeanDeserializer src, NameTransformer unwrapper)
Alternative constructor used when creating "unwrapping" deserializers -
Uses of NameTransformer in com.fasterxml.jackson.databind.introspect
Methods in com.fasterxml.jackson.databind.introspect that return NameTransformer Modifier and Type Method Description NameTransformer
AnnotationIntrospectorPair. findUnwrappingNameTransformer(AnnotatedMember member)
NameTransformer
JacksonAnnotationIntrospector. findUnwrappingNameTransformer(AnnotatedMember member)
-
Uses of NameTransformer in com.fasterxml.jackson.databind.ser
Methods in com.fasterxml.jackson.databind.ser with parameters of type NameTransformer Modifier and Type Method Description BeanPropertyWriter
BeanPropertyWriter. rename(NameTransformer transformer)
JsonSerializer<java.lang.Object>
BeanSerializer. unwrappingSerializer(NameTransformer unwrapper)
BeanPropertyWriter
BeanPropertyWriter. unwrappingWriter(NameTransformer unwrapper)
Method called create an instance that handles details of unwrapping contained value. -
Uses of NameTransformer in com.fasterxml.jackson.databind.ser.impl
Fields in com.fasterxml.jackson.databind.ser.impl declared as NameTransformer Modifier and Type Field Description protected NameTransformer
UnwrappingBeanPropertyWriter. _nameTransformer
Transformer used to add prefix and/or suffix for properties of unwrapped POJO.protected NameTransformer
UnwrappingBeanSerializer. _nameTransformer
Transformer used to add prefix and/or suffix for properties of unwrapped POJO.Methods in com.fasterxml.jackson.databind.ser.impl with parameters of type NameTransformer Modifier and Type Method Description protected UnwrappingBeanPropertyWriter
UnwrappingBeanPropertyWriter. _new(NameTransformer transformer, com.fasterxml.jackson.core.io.SerializedString newName)
Overridable factory method used by sub-classesUnwrappingBeanPropertyWriter
UnwrappingBeanPropertyWriter. rename(NameTransformer transformer)
JsonSerializer<java.lang.Object>
BeanAsArraySerializer. unwrappingSerializer(NameTransformer transformer)
JsonSerializer<java.lang.Object>
UnwrappingBeanSerializer. unwrappingSerializer(NameTransformer transformer)
Constructors in com.fasterxml.jackson.databind.ser.impl with parameters of type NameTransformer Constructor Description UnwrappingBeanPropertyWriter(BeanPropertyWriter base, NameTransformer unwrapper)
UnwrappingBeanPropertyWriter(UnwrappingBeanPropertyWriter base, NameTransformer transformer, com.fasterxml.jackson.core.io.SerializedString name)
UnwrappingBeanSerializer(BeanSerializerBase src, NameTransformer transformer)
Constructor used for creating unwrapping instance of a standardBeanSerializer
-
Uses of NameTransformer in com.fasterxml.jackson.databind.ser.std
Fields in com.fasterxml.jackson.databind.ser.std declared as NameTransformer Modifier and Type Field Description protected NameTransformer
ReferenceTypeSerializer. _unwrapper
In case of unwrapping, need name transformer.Methods in com.fasterxml.jackson.databind.ser.std with parameters of type NameTransformer Modifier and Type Method Description JsonSerializer<T>
ReferenceTypeSerializer. unwrappingSerializer(NameTransformer transformer)
protected ReferenceTypeSerializer<java.util.concurrent.atomic.AtomicReference<?>>
AtomicReferenceSerializer. withResolved(BeanProperty prop, TypeSerializer vts, JsonSerializer<?> valueSer, NameTransformer unwrapper)
protected abstract ReferenceTypeSerializer<T>
ReferenceTypeSerializer. withResolved(BeanProperty prop, TypeSerializer vts, JsonSerializer<?> valueSer, NameTransformer unwrapper)
Mutant factory method called when changes are needed; should construct newly configured instance with new values as indicated.Constructors in com.fasterxml.jackson.databind.ser.std with parameters of type NameTransformer Constructor Description AtomicReferenceSerializer(AtomicReferenceSerializer base, BeanProperty property, TypeSerializer vts, JsonSerializer<?> valueSer, NameTransformer unwrapper, java.lang.Object suppressableValue, boolean suppressNulls)
BeanSerializerBase(BeanSerializerBase src, NameTransformer unwrapper)
Copy-constructor that will also rename properties with given prefix (if it's non-empty)ReferenceTypeSerializer(ReferenceTypeSerializer<?> base, BeanProperty property, TypeSerializer vts, JsonSerializer<?> valueSer, NameTransformer unwrapper, java.lang.Object suppressableValue, boolean suppressNulls)
-
Uses of NameTransformer in com.fasterxml.jackson.databind.util
Subclasses of NameTransformer in com.fasterxml.jackson.databind.util Modifier and Type Class Description static class
NameTransformer.Chained
protected static class
NameTransformer.NopTransformer
Fields in com.fasterxml.jackson.databind.util declared as NameTransformer Modifier and Type Field Description protected NameTransformer
NameTransformer.Chained. _t1
protected NameTransformer
NameTransformer.Chained. _t2
static NameTransformer
NameTransformer. NOP
Singleton "no-operation" transformer which simply returns given name as is.Methods in com.fasterxml.jackson.databind.util that return NameTransformer Modifier and Type Method Description static NameTransformer
NameTransformer. chainedTransformer(NameTransformer t1, NameTransformer t2)
Method that constructs transformer that applies given transformers as a sequence; essentially combines separate transform operations into one logical transformation.static NameTransformer
NameTransformer. simpleTransformer(java.lang.String prefix, java.lang.String suffix)
Factory method for constructing a simple transformer based on prefix and/or suffix.Methods in com.fasterxml.jackson.databind.util with parameters of type NameTransformer Modifier and Type Method Description static NameTransformer
NameTransformer. chainedTransformer(NameTransformer t1, NameTransformer t2)
Method that constructs transformer that applies given transformers as a sequence; essentially combines separate transform operations into one logical transformation.Constructors in com.fasterxml.jackson.databind.util with parameters of type NameTransformer Constructor Description Chained(NameTransformer t1, NameTransformer t2)
-