Uses of Class
tools.jackson.databind.PropertyName
Packages that use PropertyName
Package
Description
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.Package that contains most of configuration-related classes;
exception being couple of most-commonly used configuration
things (like Feature enumerations) that are at the
main level (
tools.jackson.databind).Contains implementation classes of deserialization part of
data binding.
Contains those implementation classes of deserialization part of
data binding that are not considered part of public or semi-public
interfaces.
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
Contains implementation classes of serialization part of
data binding.
Contains implementation classes of serialization part of
data binding.
Utility classes for Mapper package.
-
Uses of PropertyName in tools.jackson.databind
Fields in tools.jackson.databind declared as PropertyNameModifier and TypeFieldDescriptionprotected final PropertyNameBeanProperty.Std._nameprotected final PropertyNameBeanProperty.Std._wrapperNamestatic final PropertyNamePropertyName.NO_NAMESpecial placeholder value that indicates that there is no name associated.static final PropertyNamePropertyName.USE_DEFAULTSpecial placeholder value that indicates that name to use should be based on the standard heuristics.Methods in tools.jackson.databind that return PropertyNameModifier and TypeMethodDescriptionstatic PropertyNamestatic PropertyNameAnnotationIntrospector.findNameForDeserialization(MapperConfig<?> config, Annotated ann) Method for checking whether given property accessors (method, field) has an annotation that suggests property name to use for deserialization (reading JSON into POJOs).AnnotationIntrospector.findNameForSerialization(MapperConfig<?> config, Annotated a) Method for checking whether given property accessors (method, field) has an annotation that suggests property name to use for serialization.AnnotationIntrospector.findRenameByField(MapperConfig<?> config, AnnotatedField f, PropertyName implName) Method called on fields that are eligible candidates for properties (that is, non-static member fields), but not necessarily selected (may or may not be visible), to let fields affect name linking.AnnotationIntrospector.findRootName(MapperConfig<?> config, AnnotatedClass ac) Method for locating name used as "root name" (for use by some serializers when outputting root-level object -- mostly for XML compatibility purposes) for given class, if one is defined.abstract PropertyNameDatabindContext.findRootName(Class<?> rawRootType) abstract PropertyNameDatabindContext.findRootName(JavaType rootType) DeserializationContext.findRootName(Class<?> rawRootType) DeserializationContext.findRootName(JavaType rootType) SerializationContext.findRootName(Class<?> rawRootType) SerializationContext.findRootName(JavaType rootType) AnnotationIntrospector.findWrapperName(MapperConfig<?> config, Annotated ann) Method used to check if specified property has annotation that indicates that it should be wrapped in an element; and if so, name to use.BeanProperty.Bogus.getFullName()BeanProperty.Std.getFullName()PropertyName.getFullName()BeanProperty.Bogus.getWrapperName()BeanProperty.getWrapperName()If property is indicated to be wrapped, name of wrapper element to use.BeanProperty.Std.getWrapperName()PropertyName.internSimpleName()static PropertyNamePropertyName.merge(PropertyName name1, PropertyName name2) Method that will combine information from twoPropertyNameinstancesPropertyName.withNamespace(String ns) Fluent factory method for constructing an instance with different namespace.PropertyName.withSimpleName(String simpleName) Fluent factory method for constructing an instance with different simple name.Methods in tools.jackson.databind that return types with arguments of type PropertyNameModifier and TypeMethodDescriptionBeanProperty.Bogus.findAliases(MapperConfig<?> config) BeanProperty.findAliases(MapperConfig<?> config) Method for accessing set of possible alternate names that are accepted during deserialization.BeanProperty.Std.findAliases(MapperConfig<?> config) AnnotationIntrospector.findPropertyAliases(MapperConfig<?> config, Annotated ann) Method called to find if given property has alias(es) defined.Methods in tools.jackson.databind with parameters of type PropertyNameModifier and TypeMethodDescriptionAnnotationIntrospector.findRenameByField(MapperConfig<?> config, AnnotatedField f, PropertyName implName) Method called on fields that are eligible candidates for properties (that is, non-static member fields), but not necessarily selected (may or may not be visible), to let fields affect name linking.static PropertyNamePropertyName.merge(PropertyName name1, PropertyName name2) Method that will combine information from twoPropertyNameinstancesDeserializationConfig.withRootName(PropertyName rootName) ObjectReader.withRootName(PropertyName rootName) ObjectWriter.withRootName(PropertyName rootName) SerializationConfig.withRootName(PropertyName rootName) Constructors in tools.jackson.databind with parameters of type PropertyNameModifierConstructorDescriptionStd(PropertyName name, JavaType type, PropertyName wrapperName, AnnotatedMember member, PropertyMetadata metadata) -
Uses of PropertyName in tools.jackson.databind.cfg
Fields in tools.jackson.databind.cfg declared as PropertyNameModifier and TypeFieldDescriptionprotected final PropertyNameMapperConfigBase._rootNameExplicitly defined root name to use, if any; if empty String, will disable root-name wrapping; if null, will use defaultsMethods in tools.jackson.databind.cfg that return PropertyNameModifier and TypeMethodDescriptionabstract PropertyNameMapperConfig.findRootName(DatabindContext ctxt, Class<?> rawRootType) abstract PropertyNameMapperConfig.findRootName(DatabindContext ctxt, JavaType rootType) MapperConfigBase.findRootName(DatabindContext ctxt, Class<?> rawRootType) MapperConfigBase.findRootName(DatabindContext ctxt, JavaType rootType) final PropertyNameMapperConfigBase.getFullRootName()Methods in tools.jackson.databind.cfg with parameters of type PropertyNameModifier and TypeMethodDescriptionabstract TMapperConfigBase.withRootName(PropertyName rootName) Method for constructing and returning a new instance with different root name to use (none, if null).Constructors in tools.jackson.databind.cfg with parameters of type PropertyNameModifierConstructorDescriptionprotectedMapperConfigBase(MapperConfigBase<CFG, T> src, PropertyName rootName) -
Uses of PropertyName in tools.jackson.databind.deser
Fields in tools.jackson.databind.deser declared as PropertyNameModifier and TypeFieldDescriptionprotected final PropertyNameSettableBeanProperty._propNameLogical name of the property (often but not always derived from the setter method name)protected final PropertyNameSettableBeanProperty._wrapperNameMethods in tools.jackson.databind.deser that return PropertyNameModifier and TypeMethodDescriptionprotected PropertyName[][]BeanDeserializerBuilder._collectAliases(Collection<SettableBeanProperty> props) SettableBeanProperty.getFullName()SettableBeanProperty.getWrapperName()Methods in tools.jackson.databind.deser with parameters of type PropertyNameModifier and TypeMethodDescriptionvoidBeanDeserializerBuilder.addInjectable(PropertyName propName, JavaType propType, Annotations contextAnnotations, AnnotatedMember member, Object valueId, Boolean optional, Boolean useInput) static CreatorPropertyCreatorProperty.construct(PropertyName name, JavaType type, PropertyName wrapperName, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedParameter param, int index, JacksonInject.Value injectable, PropertyMetadata metadata) Factory method for creatingCreatorPropertyinstancesprotected SettableBeanPropertyBasicDeserializerFactory.constructCreatorProperty(DeserializationContext ctxt, BeanDescription.Supplier beanDescRef, PropertyName name, int index, AnnotatedParameter param, JacksonInject.Value injectable) Method that will construct a property object that represents a logical property passed via Creator (constructor or static factory method)BeanDeserializerBuilder.findProperty(PropertyName propertyName) booleanBeanDeserializerBuilder.hasProperty(PropertyName propertyName) BeanDeserializerBuilder.removeProperty(PropertyName name) CreatorProperty.withName(PropertyName newName) SettableBeanProperty.Delegating.withName(PropertyName newName) abstract SettableBeanPropertySettableBeanProperty.withName(PropertyName newName) Fluent factory method for constructing and returning a new instance with specified property name.Constructors in tools.jackson.databind.deser with parameters of type PropertyNameModifierConstructorDescriptionprotectedCreatorProperty(CreatorProperty src, PropertyName newName) protectedCreatorProperty(PropertyName name, JavaType type, PropertyName wrapperName, TypeDeserializer typeDeser, Annotations contextAnnotations, AnnotatedParameter param, int index, JacksonInject.Value injectable, PropertyMetadata metadata) protectedSettableBeanProperty(SettableBeanProperty src, PropertyName newName) Copy-with-deserializer-change constructor for sub-classes to use.protectedSettableBeanProperty(PropertyName propName, JavaType type, PropertyMetadata metadata, ValueDeserializer<Object> valueDeser) Constructor only used byObjectIdValueProperty.protectedSettableBeanProperty(PropertyName propName, JavaType type, PropertyName wrapper, TypeDeserializer typeDeser, Annotations contextAnnotations, PropertyMetadata metadata) -
Uses of PropertyName in tools.jackson.databind.deser.bean
Fields in tools.jackson.databind.deser.bean declared as PropertyNameModifier and TypeFieldDescriptionprotected static final PropertyNameBeanDeserializerBase.TEMP_PROPERTY_NAMEMethods in tools.jackson.databind.deser.bean that return PropertyNameModifier and TypeMethodDescriptionCreatorCandidate.explicitParamName(int i) CreatorCandidate.Param.fullName()CreatorCandidate.paramName(int i) Methods in tools.jackson.databind.deser.bean with parameters of type PropertyNameModifier and TypeMethodDescriptionstatic BeanPropertyMapBeanPropertyMap.construct(MapperConfig<?> config, Collection<SettableBeanProperty> props, PropertyName[][] aliases, boolean caseInsensitive) BeanDeserializerBase.findProperty(PropertyName propertyName) Constructors in tools.jackson.databind.deser.bean with parameters of type PropertyNameModifierConstructorDescriptionprotectedBeanPropertyMap(Collection<SettableBeanProperty> props, PropertyName[][] aliasDefs, Locale locale, boolean caseInsensitive, boolean assignIndexes) -
Uses of PropertyName in tools.jackson.databind.deser.impl
Fields in tools.jackson.databind.deser.impl declared as PropertyNameModifier and TypeFieldDescriptionprotected final PropertyNameNullsFailProvider._namefinal PropertyNameObjectIdReader.propertyNameMethods in tools.jackson.databind.deser.impl that return PropertyNameModifier and TypeMethodDescriptionstatic PropertyNameUnwrappedPropertyHandler.creatorParamName(int index) Generates a placeholder name for creator properties that don't have a name, but are marked with `@JsonWrapped` annotation.Methods in tools.jackson.databind.deser.impl with parameters of type PropertyNameModifier and TypeMethodDescriptionstatic ObjectIdReaderObjectIdReader.construct(JavaType idType, PropertyName propName, ObjectIdGenerator<?> generator, ValueDeserializer<?> deser, SettableBeanProperty idProp, ObjectIdResolver resolver) Factory method called byBeanSerializerBasewith the initial information based on standard settings for the type for which serializer is being built.MethodProperty.withName(PropertyName newName) ObjectIdReferenceProperty.withName(PropertyName newName) ObjectIdValueProperty.withName(PropertyName newName) SetterlessProperty.withName(PropertyName newName) Constructors in tools.jackson.databind.deser.impl with parameters of type PropertyNameModifierConstructorDescriptionprotectedMethodProperty(MethodProperty src, PropertyName newName) protectedNullsFailProvider(PropertyName name, JavaType type) protectedObjectIdReader(JavaType t, PropertyName propName, ObjectIdGenerator<?> gen, ValueDeserializer<?> deser, SettableBeanProperty idProp, ObjectIdResolver resolver) ObjectIdReferenceProperty(ObjectIdReferenceProperty src, PropertyName newName) protectedObjectIdValueProperty(ObjectIdValueProperty src, PropertyName newName) protectedSetterlessProperty(SetterlessProperty src, PropertyName newName) ValueInjector(PropertyName propName, JavaType type, AnnotatedMember mutator, Object valueId, Boolean optional, Boolean useInput) -
Uses of PropertyName in tools.jackson.databind.exc
Fields in tools.jackson.databind.exc declared as PropertyNameModifier and TypeFieldDescriptionprotected final PropertyNameInvalidNullException._propertyNameName of property, if known, for which null was encountered.Methods in tools.jackson.databind.exc that return PropertyNameMethods in tools.jackson.databind.exc with parameters of type PropertyNameModifier and TypeMethodDescriptionstatic InvalidNullExceptionInvalidNullException.from(DeserializationContext ctxt, PropertyName name, JavaType type) Constructors in tools.jackson.databind.exc with parameters of type PropertyNameModifierConstructorDescriptionprotectedInvalidNullException(JsonParser p, String msg, PropertyName pname) protectedInvalidNullException(DeserializationContext ctxt, String msg, PropertyName pname) -
Uses of PropertyName in tools.jackson.databind.introspect
Fields in tools.jackson.databind.introspect declared as PropertyNameModifier and TypeFieldDescriptionprotected final PropertyNamePOJOPropertyBuilder._internalNameOriginal internal name, derived from accessor, of this property.protected final PropertyNamePOJOPropertyBuilder._nameExternal name of logical property; may change with renaming (by new instance being constructed using a new name)protected final PropertyNameObjectIdInfo._propertyNamefinal PropertyNamePOJOPropertyBuilder.Linked.nameFields in tools.jackson.databind.introspect with type parameters of type PropertyNameModifier and TypeFieldDescriptionprotected List<PropertyName>ConcreteBeanPropertyBase._aliasesprotected Map<PropertyName,PropertyName> POJOPropertiesCollector._fieldRenameMappingsA set of "field renamings" that have been discovered, indicating intended renaming of other accessors: key is the implicit original name and value intended name to use instead.protected Map<PropertyName,PropertyName> POJOPropertiesCollector._fieldRenameMappingsA set of "field renamings" that have been discovered, indicating intended renaming of other accessors: key is the implicit original name and value intended name to use instead.Methods in tools.jackson.databind.introspect that return PropertyNameModifier and TypeMethodDescriptionprotected PropertyNameJacksonAnnotationIntrospector._propertyName(String localName, String namespace) PotentialCreator.explicitName(int ix) AnnotationIntrospectorPair.findNameForDeserialization(MapperConfig<?> config, Annotated a) JacksonAnnotationIntrospector.findNameForDeserialization(MapperConfig<?> config, Annotated a) AnnotationIntrospectorPair.findNameForSerialization(MapperConfig<?> config, Annotated a) JacksonAnnotationIntrospector.findNameForSerialization(MapperConfig<?> config, Annotated a) AnnotationIntrospectorPair.findRenameByField(MapperConfig<?> config, AnnotatedField f, PropertyName implName) JacksonAnnotationIntrospector.findRenameByField(MapperConfig<?> config, AnnotatedField f, PropertyName implName) AnnotationIntrospectorPair.findRootName(MapperConfig<?> config, AnnotatedClass ac) JacksonAnnotationIntrospector.findRootName(MapperConfig<?> config, AnnotatedClass ac) AnnotationIntrospectorPair.findWrapperName(MapperConfig<?> config, Annotated ann) POJOPropertyBuilder.getFullName()ObjectIdInfo.getPropertyName()abstract PropertyNameBeanPropertyDefinition.getWrapperName()Accessor for finding wrapper name to use for property (if any).POJOPropertyBuilder.getWrapperName()PotentialCreator.implicitName(int ix) Methods in tools.jackson.databind.introspect that return types with arguments of type PropertyNameModifier and TypeMethodDescriptionabstract List<PropertyName>BeanPropertyDefinition.findAliases()Method for finding all aliases of the property, if any.ConcreteBeanPropertyBase.findAliases(MapperConfig<?> config) POJOPropertyBuilder.findAliases()POJOPropertyBuilder.findExplicitNames()Method called to find out set of explicit names for accessors bound together due to implicit name.AnnotationIntrospectorPair.findPropertyAliases(MapperConfig<?> config, Annotated ann) JacksonAnnotationIntrospector.findPropertyAliases(MapperConfig<?> config, Annotated m) Methods in tools.jackson.databind.introspect with parameters of type PropertyNameModifier and TypeMethodDescriptionprotected POJOPropertyBuilderPOJOPropertiesCollector._property(Map<String, POJOPropertyBuilder> props, PropertyName name) voidPOJOPropertyBuilder.addCtor(AnnotatedParameter a, PropertyName name, boolean explName, boolean visible, boolean ignored) voidPOJOPropertyBuilder.addField(AnnotatedField a, PropertyName name, boolean explName, boolean visible, boolean ignored) voidPOJOPropertyBuilder.addGetter(AnnotatedMethod a, PropertyName name, boolean explName, boolean visible, boolean ignored) voidPOJOPropertyBuilder.addSetter(AnnotatedMethod a, PropertyName name, boolean explName, boolean visible, boolean ignored) BasicBeanDescription.findProperty(PropertyName name) AnnotationIntrospectorPair.findRenameByField(MapperConfig<?> config, AnnotatedField f, PropertyName implName) JacksonAnnotationIntrospector.findRenameByField(MapperConfig<?> config, AnnotatedField f, PropertyName implName) booleanPOJOPropertyBuilder.hasExplicitName(PropertyName name) Method find out if this property has specified explicit name: this is generally needed for properties that have not yet been renamed (Creator-detection).booleanPOJOPropertyBuilder.hasName(PropertyName name) booleanBasicBeanDescription.hasProperty(PropertyName name) PotentialCreator.introspectParamNames(MapperConfig<?> config, PropertyName[] implicits) Variant used when implicit names are known; such as case for JDK Record types.abstract BeanPropertyDefinitionBeanPropertyDefinition.withName(PropertyName newName) Method that can be used to create a definition with same settings as this one, but with different (external) name; that is, one for whichNamed.getName()would returnnewName.POJOPropertyBuilder.withName(PropertyName newName) Method parameters in tools.jackson.databind.introspect with type arguments of type PropertyNameModifier and TypeMethodDescriptionPOJOPropertyBuilder.explode(Collection<PropertyName> newNames) Method called when a previous call toPOJOPropertyBuilder.findExplicitNames()found multiple distinct explicit names, and the property this builder represents basically needs to be broken apart and replaced by a set of more than one properties.Constructors in tools.jackson.databind.introspect with parameters of type PropertyNameModifierConstructorDescriptionLinked(T v, POJOPropertyBuilder.Linked<T> n, PropertyName name, boolean explName, boolean visible, boolean ignored) protectedObjectIdInfo(PropertyName prop, Class<?> scope, Class<? extends ObjectIdGenerator<?>> gen, boolean alwaysAsId) protectedObjectIdInfo(PropertyName prop, Class<?> scope, Class<? extends ObjectIdGenerator<?>> gen, boolean alwaysAsId, Class<? extends ObjectIdResolver> resolver) ObjectIdInfo(PropertyName name, Class<?> scope, Class<? extends ObjectIdGenerator<?>> gen, Class<? extends ObjectIdResolver> resolver) POJOPropertyBuilder(MapperConfig<?> config, AnnotationIntrospector ai, boolean forSerialization, PropertyName internalName) protectedPOJOPropertyBuilder(MapperConfig<?> config, AnnotationIntrospector ai, boolean forSerialization, PropertyName internalName, PropertyName name) protectedPOJOPropertyBuilder(POJOPropertyBuilder src, PropertyName newName) -
Uses of PropertyName in tools.jackson.databind.ser
Fields in tools.jackson.databind.ser declared as PropertyNameModifier and TypeFieldDescriptionprotected final PropertyNameBeanPropertyWriter._wrapperNameWrapper name to use for this element, if anyMethods in tools.jackson.databind.ser that return PropertyNameModifier and TypeMethodDescriptionBeanPropertyWriter.getFullName()abstract PropertyNamePropertyWriter.getFullName()BeanPropertyWriter.getWrapperName()Methods in tools.jackson.databind.ser with parameters of type PropertyNameModifier and TypeMethodDescriptionprotected BeanPropertyWriterBeanPropertyWriter._new(PropertyName newName) Overridable factory method used by sub-classesbooleanBeanPropertyWriter.wouldConflictWithName(PropertyName name) Method called to check to see if this property has a name that would conflict with a given name.Constructors in tools.jackson.databind.ser with parameters of type PropertyNameModifierConstructorDescriptionprotectedBeanPropertyWriter(BeanPropertyWriter base, PropertyName name) protected -
Uses of PropertyName in tools.jackson.databind.ser.bean
Fields in tools.jackson.databind.ser.bean declared as PropertyNameModifier and TypeFieldDescriptionprotected static final PropertyNameBeanSerializerBase.NAME_FOR_OBJECT_REF -
Uses of PropertyName in tools.jackson.databind.ser.impl
Methods in tools.jackson.databind.ser.impl with parameters of type PropertyNameModifier and TypeMethodDescriptionstatic ObjectIdWriterObjectIdWriter.construct(JavaType idType, PropertyName propName, ObjectIdGenerator<?> generator, boolean alwaysAsId) Factory method called byBeanSerializerBasewith the initial information based on standard settings for the type for which serializer is being built. -
Uses of PropertyName in tools.jackson.databind.ser.jdk
Methods in tools.jackson.databind.ser.jdk that return PropertyName -
Uses of PropertyName in tools.jackson.databind.util
Fields in tools.jackson.databind.util declared as PropertyNameModifier and TypeFieldDescriptionprotected final PropertyNameSimpleBeanPropertyDefinition._fullNameFields in tools.jackson.databind.util with type parameters of type PropertyNameModifier and TypeFieldDescriptionprotected LookupCache<ClassKey,PropertyName> RootNameLookup._rootNamesFor efficient operation, let's try to minimize number of times we need to introspect root element name to use.Methods in tools.jackson.databind.util that return PropertyNameModifier and TypeMethodDescriptionRootNameLookup.findRootName(DatabindContext ctxt, Class<?> rootType) RootNameLookup.findRootName(DatabindContext ctxt, JavaType rootType) FullyNamed.getFullName()SimpleBeanPropertyDefinition.getFullName()SimpleBeanPropertyDefinition.getWrapperName()Methods in tools.jackson.databind.util that return types with arguments of type PropertyNameMethods in tools.jackson.databind.util with parameters of type PropertyNameModifier and TypeMethodDescriptionstatic SimpleBeanPropertyDefinitionSimpleBeanPropertyDefinition.construct(MapperConfig<?> config, AnnotatedMember member, PropertyName name) static SimpleBeanPropertyDefinitionSimpleBeanPropertyDefinition.construct(MapperConfig<?> config, AnnotatedMember member, PropertyName name, PropertyMetadata metadata, JsonInclude.Include inclusion) Method called to create instance for virtual properties.static SimpleBeanPropertyDefinitionSimpleBeanPropertyDefinition.construct(MapperConfig<?> config, AnnotatedMember member, PropertyName name, PropertyMetadata metadata, JsonInclude.Value inclusion) default booleanFullyNamed.hasName(PropertyName name) booleanSimpleBeanPropertyDefinition.hasName(PropertyName name) static StringClassUtil.name(PropertyName name) Returns either single-quoted (apostrophe)'name'(ifnamenot null), or "[null]" ifnameis null.SimpleBeanPropertyDefinition.withName(PropertyName newName) Constructors in tools.jackson.databind.util with parameters of type PropertyNameModifierConstructorDescriptionprotectedSimpleBeanPropertyDefinition(MapperConfig<?> config, AnnotatedMember member, PropertyName fullName, PropertyMetadata metadata, JsonInclude.Value inclusion)