Uses of Class
com.fasterxml.jackson.annotation.JsonFormat.Value
Packages that use JsonFormat.Value
Package
Description
Public core annotations, most of which are used to configure how
Data Mapping/Binding works.
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 (
com.fasterxml.jackson.databind).Contains public standard implementations of abstraction that
Jackson uses.
Functionality needed for Bean introspection, required for detecting
accessors and mutators for Beans, as well as locating and handling
method annotations.
Package that contains support for using JAXB annotations for
configuring Jackson data-binding aspects.
-
Uses of JsonFormat.Value in com.fasterxml.jackson.annotation
Methods in com.fasterxml.jackson.annotation that return JsonFormat.ValueModifier and TypeMethodDescriptionstatic final JsonFormat.ValueJsonFormat.Value.empty()static JsonFormat.ValueJsonFormat.Value.forLeniency(boolean lenient) static JsonFormat.ValueJsonFormat.Value.forPattern(String p) static JsonFormat.ValueJsonFormat.Value.forShape(JsonFormat.Shape sh) static final JsonFormat.ValueJsonFormat.Value.from(JsonFormat ann) static JsonFormat.ValueJsonFormat.Value.merge(JsonFormat.Value base, JsonFormat.Value overrides) Helper method that will try to combine values from twoJsonFormat.Valueinstances, using one as base settings, and the other as overrides to use instead of base values when defined; base values are only use if override does not specify a value (matching value is null or logically missing).static JsonFormat.ValueJsonFormat.Value.mergeAll(JsonFormat.Value... values) JsonFormat.Value.withFeature(JsonFormat.Feature f) JsonFormat.Value.withLenient(Boolean lenient) JsonFormat.Value.withLocale(Locale l) JsonFormat.Value.withoutFeature(JsonFormat.Feature f) final JsonFormat.ValueJsonFormat.Value.withOverrides(JsonFormat.Value overrides) JsonFormat.Value.withPattern(String p) JsonFormat.Value.withShape(JsonFormat.Shape s) JsonFormat.Value.withTimeZone(TimeZone tz) Methods in com.fasterxml.jackson.annotation with parameters of type JsonFormat.ValueModifier and TypeMethodDescriptionstatic JsonFormat.ValueJsonFormat.Value.merge(JsonFormat.Value base, JsonFormat.Value overrides) Helper method that will try to combine values from twoJsonFormat.Valueinstances, using one as base settings, and the other as overrides to use instead of base values when defined; base values are only use if override does not specify a value (matching value is null or logically missing).static JsonFormat.ValueJsonFormat.Value.mergeAll(JsonFormat.Value... values) final JsonFormat.ValueJsonFormat.Value.withOverrides(JsonFormat.Value overrides) -
Uses of JsonFormat.Value in com.fasterxml.jackson.databind
Fields in com.fasterxml.jackson.databind declared as JsonFormat.ValueMethods in com.fasterxml.jackson.databind that return JsonFormat.ValueModifier and TypeMethodDescriptionabstract JsonFormat.ValueBeanDescription.findExpectedFormat()Method for checking what is the expected format for POJO, as defined by defaults and possible annotations.BeanDescription.findExpectedFormat(JsonFormat.Value defValue) Deprecated.AnnotationIntrospector.findFormat(Annotated memberOrClass) Method for finding format annotations for property or class.BeanProperty.Bogus.findFormatOverrides(AnnotationIntrospector intr) Deprecated.BeanProperty.findFormatOverrides(AnnotationIntrospector intr) Deprecated.BeanProperty.Std.findFormatOverrides(AnnotationIntrospector intr) Deprecated.BeanProperty.Bogus.findPropertyFormat(MapperConfig<?> config, Class<?> baseType) BeanProperty.findPropertyFormat(MapperConfig<?> config, Class<?> baseType) Helper method used to look up format settings applicable to this property, considering both possible per-type configuration settingsBeanProperty.Std.findPropertyFormat(MapperConfig<?> config, Class<?> baseType) abstract JsonFormat.ValueDatabindContext.getDefaultPropertyFormat(Class<?> baseType) final JsonFormat.ValueDeserializationContext.getDefaultPropertyFormat(Class<?> baseType) final JsonFormat.ValueSerializerProvider.getDefaultPropertyFormat(Class<?> baseType) Methods in com.fasterxml.jackson.databind with parameters of type JsonFormat.ValueModifier and TypeMethodDescriptionBeanDescription.findExpectedFormat(JsonFormat.Value defValue) Deprecated.Since 2.17 useBeanDescription.findExpectedFormat() -
Uses of JsonFormat.Value in com.fasterxml.jackson.databind.cfg
Fields in com.fasterxml.jackson.databind.cfg declared as JsonFormat.ValueModifier and TypeFieldDescriptionprotected JsonFormat.ValueConfigOverride._formatDefinitions of format overrides, if any.protected static final JsonFormat.ValueMapperConfig.EMPTY_FORMATMethods in com.fasterxml.jackson.databind.cfg that return JsonFormat.ValueModifier and TypeMethodDescriptionConfigOverrides.findFormatDefaults(Class<?> type) Specific accessor for finding {code JsonFormat.Value} for given type, considering global default for leniency as well as per-type format override (if any).abstract JsonFormat.ValueMapperConfig.getDefaultPropertyFormat(Class<?> baseType) Accessor for default format settings to use for serialization (and, to a degree deserialization), considering baseline settings and per-type defaults for given base type (if any).final JsonFormat.ValueMapperConfigBase.getDefaultPropertyFormat(Class<?> type) ConfigOverride.getFormat()Methods in com.fasterxml.jackson.databind.cfg with parameters of type JsonFormat.Value -
Uses of JsonFormat.Value in com.fasterxml.jackson.databind.deser.std
Methods in com.fasterxml.jackson.databind.deser.std that return JsonFormat.ValueModifier and TypeMethodDescriptionprotected JsonFormat.ValueStdDeserializer.findFormatOverrides(DeserializationContext ctxt, BeanProperty prop, Class<?> typeForDefaults) Helper method that may be used to find if this deserializer has specificJsonFormatsettings, either via property, or through type-specific defaulting. -
Uses of JsonFormat.Value in com.fasterxml.jackson.databind.introspect
Fields in com.fasterxml.jackson.databind.introspect declared as JsonFormat.ValueModifier and TypeFieldDescriptionprotected JsonFormat.ValuePOJOPropertiesCollector._formatOverridesLazily accessed information about POJO format overridesMethods in com.fasterxml.jackson.databind.introspect that return JsonFormat.ValueModifier and TypeMethodDescriptionBasicBeanDescription.findExpectedFormat()AnnotationIntrospectorPair.findFormat(Annotated ann) JacksonAnnotationIntrospector.findFormat(Annotated ann) final JsonFormat.ValueConcreteBeanPropertyBase.findFormatOverrides(AnnotationIntrospector intr) Deprecated.ConcreteBeanPropertyBase.findPropertyFormat(MapperConfig<?> config, Class<?> baseType) POJOPropertiesCollector.getFormatOverrides() -
Uses of JsonFormat.Value in com.fasterxml.jackson.databind.ser.std
Methods in com.fasterxml.jackson.databind.ser.std that return JsonFormat.ValueModifier and TypeMethodDescriptionprotected JsonFormat.ValueStdSerializer.findFormatOverrides(SerializerProvider provider, BeanProperty prop, Class<?> typeForDefaults) Helper method that may be used to find if this deserializer has specificJsonFormatsettings, either via property, or through type-specific defaulting.Methods in com.fasterxml.jackson.databind.ser.std with parameters of type JsonFormat.ValueModifier and TypeMethodDescriptionprotected static BooleanEnumSerializer._isShapeWrittenUsingIndex(Class<?> enumClass, JsonFormat.Value format, boolean fromClass, Boolean defaultValue) Helper method called to check whether serialization should be done using index (number) or not.static EnumSerializerEnumSerializer.construct(Class<?> enumClass, SerializationConfig config, BeanDescription beanDesc, JsonFormat.Value format) Factory method used byBasicSerializerFactoryfor constructing serializer instance of Enum types. -
Uses of JsonFormat.Value in com.fasterxml.jackson.datatype.jsr310.deser
Methods in com.fasterxml.jackson.datatype.jsr310.deser with parameters of type JsonFormat.ValueModifier and TypeMethodDescriptionprotected JSR310DateTimeDeserializerBase<?>InstantDeserializer._withFormatOverrides(DeserializationContext ctxt, BeanProperty property, JsonFormat.Value formatOverrides) protected JSR310DateTimeDeserializerBase<?>JSR310DateTimeDeserializerBase._withFormatOverrides(DeserializationContext ctxt, BeanProperty property, JsonFormat.Value formatOverrides) protected JSR310DateTimeDeserializerBase<?>LocalDateTimeDeserializer._withFormatOverrides(DeserializationContext ctxt, BeanProperty property, JsonFormat.Value formatOverrides) protected JSR310DateTimeDeserializerBase<?>LocalTimeDeserializer._withFormatOverrides(DeserializationContext ctxt, BeanProperty property, JsonFormat.Value formatOverrides) protected JSR310DateTimeDeserializerBase<?>OffsetTimeDeserializer._withFormatOverrides(DeserializationContext ctxt, BeanProperty property, JsonFormat.Value formatOverrides) -
Uses of JsonFormat.Value in com.fasterxml.jackson.datatype.jsr310.ser
Methods in com.fasterxml.jackson.datatype.jsr310.ser with parameters of type JsonFormat.ValueModifier and TypeMethodDescriptionprotected DateTimeFormatterDurationSerializer._useDateTimeFormatter(SerializerProvider prov, JsonFormat.Value format) -
Uses of JsonFormat.Value in com.fasterxml.jackson.module.jakarta.xmlbind
Fields in com.fasterxml.jackson.module.jakarta.xmlbind declared as JsonFormat.ValueModifier and TypeFieldDescriptionprotected static final JsonFormat.ValueJakartaXmlBindAnnotationIntrospector.FORMAT_INTprotected static final JsonFormat.ValueJakartaXmlBindAnnotationIntrospector.FORMAT_STRINGMethods in com.fasterxml.jackson.module.jakarta.xmlbind that return JsonFormat.Value
BeanDescription.findExpectedFormat()