Uses of Interface
tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
Packages that use JsonFormatVisitable
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.Contains extended support for "external" packages: things that
may or may not be present in runtime environment, but that are
commonly enough used so that explicit support can be added.
Package that contains handlers specific to datatypes introduced in Java 8.
Package that contains handlers specific to SQL datatypes.
Classes used for exposing logical structure of POJOs as Jackson
sees it, and exposed via
ObjectMapper.acceptJsonFormatVisitor(Class, JsonFormatVisitorWrapper)
and
ObjectMapper.acceptJsonFormatVisitor(tools.jackson.databind.JavaType, JsonFormatVisitorWrapper)
methods.Contains implementation classes of serialization part of
data binding.
Contains implementation classes of serialization part of
data binding.
-
Uses of JsonFormatVisitable in tools.jackson.databind
Classes in tools.jackson.databind that implement JsonFormatVisitableModifier and TypeClassDescriptionclassAbstract class that defines API used byObjectMapper(and other chainedValueSerializers too) to serialize Objects of arbitrary types into JSON, using providedJsonGenerator.static classThis marker class is only to be used with annotations, to indicate that no serializer is configured. -
Uses of JsonFormatVisitable in tools.jackson.databind.ext
Classes in tools.jackson.databind.ext that implement JsonFormatVisitableModifier and TypeClassDescriptionclassclassclass -
Uses of JsonFormatVisitable in tools.jackson.databind.ext.javatime.ser
Classes in tools.jackson.databind.ext.javatime.ser that implement JsonFormatVisitableModifier and TypeClassDescriptionclassSerializer for Java 8 temporalDurations.classclassInstantSerializerBase<T extends Temporal>classSerializer for Java 8 temporalLocalDates.classSerializer for Java 8 temporalLocalDateTimes.classSerializer for Java 8 temporalLocalTimes.classSerializer for Java 8 temporalMonthDays.classSerializer for Java 8 temporalMonths.classclassSerializer for Java 8 temporalOffsetTimes.classSerializer for Java 8 temporalYearMonths.classSerializer for Java 8 temporalYears.classclass -
Uses of JsonFormatVisitable in tools.jackson.databind.ext.javatime.ser.key
Classes in tools.jackson.databind.ext.javatime.ser.key that implement JsonFormatVisitable -
Uses of JsonFormatVisitable in tools.jackson.databind.ext.jdk8
Classes in tools.jackson.databind.ext.jdk8 that implement JsonFormatVisitableModifier and TypeClassDescriptionclassDoubleStreamserializerclassIntStreamserializerclassclassCommon typed stream serializerclassLongStreamserializerclassclassclass -
Uses of JsonFormatVisitable in tools.jackson.databind.ext.sql
Classes in tools.jackson.databind.ext.sql that implement JsonFormatVisitableModifier and TypeClassDescriptionclassSerializer implementation forBlobto write as binary (for JSON and other formats Base64-encoded String, for binary formats as true binary).classCompared to regularDateserialization, we do use String representation here.classNOTE: name wasSqlTimeSerializerin Jackson 2.x -
Uses of JsonFormatVisitable in tools.jackson.databind.jsonFormatVisitors
Methods in tools.jackson.databind.jsonFormatVisitors with parameters of type JsonFormatVisitableModifier and TypeMethodDescriptionvoidJsonArrayFormatVisitor.Base.itemsFormat(JsonFormatVisitable handler, JavaType elementType) voidJsonArrayFormatVisitor.itemsFormat(JsonFormatVisitable handler, JavaType elementType) Visit method called for structured types, as well as possibly for leaf types (especially if handled by custom serializers).voidJsonMapFormatVisitor.Base.keyFormat(JsonFormatVisitable handler, JavaType keyType) voidJsonMapFormatVisitor.keyFormat(JsonFormatVisitable handler, JavaType keyType) Visit method called to indicate type of keys of the Map type being visitedvoidJsonObjectFormatVisitor.Base.optionalProperty(String name, JsonFormatVisitable handler, JavaType propertyTypeHint) voidJsonObjectFormatVisitor.optionalProperty(String name, JsonFormatVisitable handler, JavaType propertyTypeHint) voidJsonObjectFormatVisitor.Base.property(String name, JsonFormatVisitable handler, JavaType propertyTypeHint) voidJsonObjectFormatVisitor.property(String name, JsonFormatVisitable handler, JavaType propertyTypeHint) Callback method called when a non-POJO property (typically something like an Enum entry ofEnumMaptype) is being traversed.voidJsonMapFormatVisitor.Base.valueFormat(JsonFormatVisitable handler, JavaType valueType) voidJsonMapFormatVisitor.valueFormat(JsonFormatVisitable handler, JavaType valueType) Visit method called afterJsonMapFormatVisitor.keyFormat(tools.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, tools.jackson.databind.JavaType)to allow visiting of the value type -
Uses of JsonFormatVisitable in tools.jackson.databind.ser
Classes in tools.jackson.databind.ser that implement JsonFormatVisitableModifier and TypeClassDescriptionclassSerializer class that can serialize Java objects that map to JSON Object output.class -
Uses of JsonFormatVisitable in tools.jackson.databind.ser.bean
Classes in tools.jackson.databind.ser.bean that implement JsonFormatVisitableModifier and TypeClassDescriptionclassSpecialized POJO serializer that differs fromBeanSerializerin that instead of producing a JSON Object it will output a JSON Array, omitting field names, and serializing values in specified serialization order.classBase class both for the standard bean serializer, and couple of variants that only differ in small details.classSpecialization ofBeanAsArraySerializer, optimized for handling small number of properties where calls to property handlers can be "unrolled" by eliminated looping.class -
Uses of JsonFormatVisitable in tools.jackson.databind.ser.impl
Classes in tools.jackson.databind.ser.impl that implement JsonFormatVisitableModifier and TypeClassDescriptionclassSpecial bogus "serializer" that will throwDatabindExceptionif itsFailingSerializer.serialize(java.lang.Object, tools.jackson.core.JsonGenerator, tools.jackson.databind.SerializationContext)gets invoked.final classSimple serializer that will call configured type serializer, passing in configured data serializer, and exposing it all as a simple serializer.classclassSpecial bogus "serializer" that will throwInvalidDefinitionExceptionif itsUnsupportedTypeSerializer.serialize(java.lang.Object, tools.jackson.core.JsonGenerator, tools.jackson.databind.SerializationContext)gets invoked. -
Uses of JsonFormatVisitable in tools.jackson.databind.ser.jackson
Classes in tools.jackson.databind.ser.jackson that implement JsonFormatVisitableModifier and TypeClassDescriptionclassGeneric handler for types that implementJacksonSerializable.classSerializer class that can serialize Object that have aJsonValueannotation to indicate that serialization should be done by calling the method annotated, and serializing result it returns.classThis is a simple dummy serializer that will just output raw values by calling toString() on value to serialize.classWe also want to directly support serialization ofTokenBuffer; and since it is part of core package, it cannot implementJacksonSerializable(which is only included in the mapper package) -
Uses of JsonFormatVisitable in tools.jackson.databind.ser.jdk
Classes in tools.jackson.databind.ser.jdk that implement JsonFormatVisitableModifier and TypeClassDescriptionclassfinal classSerializer used for primitive boolean, as well as java.util.Boolean wrapper type.classUnlike other integral number array serializers, we do not just print out byte values as numbers.classclassFallback serializer for cases where Collection is not known to be of type for which more specializer serializer exists (such as index-accessible List).classclassStandard serializer used forEnumtypes.classfinal classThis is an optimized serializer for Lists that can be efficiently traversed by index (as opposed to others, such asLinkedListthat cannot}.final classEfficient implement for serializingLists that contains Strings and are random-accessible.classSimple serializer forInetAddress.classSimple serializer forInetSocketAddress.classclassclassStandard serializer forCalendar.classFor efficiency, we will serialize Dates as longs, instead of potentially more readable Strings.static classAlternative serializer for arrays of primitive doubles, using "packed binary" representation ("binary vector") instead of JSON array.static classAlternative serializer for arrays of primitive floats, using "packed binary" representation ("binary vector") instead of JSON array.static classstatic classCharacter arrays are different from other integral number arrays in that they are most likely to be textual data, and should be written as Strings, not arrays of entries.static classstatic classstatic classstatic classstatic classprotected static classIntermediate base class used for cases where we may add type information (excludes boolean/int/double arrays).static classThis is a "chameleon" style multi-type key serializer for simple standard JDK types.static classKey serializer used when key type is not known statically, and actual key serializer needs to be dynamically located.static classSpecialized instance to use for Enum keys, as per [databind#1322]static classSimple and fast key serializer when keys are Strings.static classstatic classstatic classstatic classclass"Combo" serializer used for JDK types that work almost likeToStringSerializer.classSerializer used to serialize Map.Entry as POJOs: that is, as if introspected as POJOs so that there's intermediate "key" and "value" properties.classclassStandard serializer implementation for serializing {link java.util.Map} types.classAs a fallback, we may need to use this serializer for other types ofNumbers: both custom types and "big" numbers likeBigIntegerandBigDecimal.static classBase class for actual primitive/wrapper value serializers.static classThis is the special serializer for regularDoubles (and primitive doubles)static classstatic classThis is the special serializer for regularIntegers (and primitive ints)static classSimilar toNumberSerializers.IntegerSerializer, but will not cast to Integer: instead, cast is toNumber, and conversion is by callingNumber.intValue().static classstatic classclassGeneric serializer for Object arrays (Object[]).classStaticListSerializerBase<T extends Collection<?>>Intermediate base class for Lists, Collections and Arrays that contain static (non-dynamic) value types.classStandard serializer used forString[]values.classEfficient implement for serializingCollections that contain Strings.final classThis is the special serializer for regularStrings.classclassSpecializedValueSerializerto outputUUIDs. -
Uses of JsonFormatVisitable in tools.jackson.databind.ser.std
Classes in tools.jackson.databind.ser.std that implement JsonFormatVisitableModifier and TypeClassDescriptionclassIntermediate base class for serializers used for various Java arrays.classBase class for serializers that will output contents as JSON arrays; typically serializers used forCollectionand array types.classThis is a simple dummy serializer that will just output literal JSON null value whenever serialization is requested.classBase implementation for values ofReferenceType.classIntermediate base class for serializers used for serializing types that contain element(s) of other types, such as arrays,Collections (Lists,Setsetc) andMaps and iterable things (Iterators).classSerializer implementation where given Java type is first converted to an intermediate "delegate type" (using a configuredConverter, and then this delegate value is serialized by Jackson.classBase class for standard serializers that are not (necessarily) container types but that similarly handle content that may vary in ways to require dynamic lookups.classclassBase class used by all standard serializers, and can also be used for custom serializers (in fact, this is the recommended base class to use).classSimple "bogus" serializer that will just serialize an empty Object for any given value.final classSimple general purpose serializer, useful for any type for whichObject.toString()returns the desired String serialization value.classIntermediate base class that serves as base for standardToStringSerializeras well as for custom subtypes that want to add processing for converting from value to output into itsStringrepresentation (whereas standard version simply calls value object'stoString()method).