Package org.apache.johnzon.mapper
-
Interface Summary Interface Description Adapter<POJO_TYPE,JSON_TYPE> An Adapter is similar to aConverter
.Converter<T> Convert a given Java Type to it's JSON String representation.Converter.TypeAccess MapperConfig.CustomEnumConverter<A> MapperConverter MapperConverter is the common marker interface for all Converters available in JohnzonMappingGenerator Handles writing Json for Objects.MappingParser Handles reading Json for Objects.ObjectConverter.Codec<T> ObjectConverter.Reader<T> ObjectConverter.Writer<T> SerializeValueFilter TypeAwareAdapter<A,B> -
Class Summary Class Description DynamicMappingGenerator DynamicMappingGenerator.DelegatingGenerator DynamicMappingGenerator.InObjectOrPrimitiveJsonGenerator DynamicMappingGenerator.SkipEnclosingWriteEnd DynamicMappingGenerator.SkipLastWriteEndGenerator JohnzonCores JsonObjectGenerator JsonObjectGenerator.NamedBuilder<T> Mapper MapperBuilder MapperConfig Contains internal configuration for all the mapper stuff.MappingGeneratorImpl MappingParserImpl This class is not concurrently usable as it contains state.MappingParserImpl.SuppressConversionMappingParser Internal class to suppressObjectConverter
lookup if and only if theJsonValue
is the same refernece than the lookup was done before.Mappings Mappings.ClassMapping Mappings.CollectionMapping Mappings.CompositeReader Mappings.CompositeWriter Mappings.Getter Mappings.MapBuilderReader Mappings.MapUnwrapperWriter Mappings.Setter ObjectConverter Convert a given Java Type a nested JSON representation. -
Enum Summary Enum Description DynamicMappingGenerator.WritingState -
Exception Summary Exception Description MapperException -
Annotation Types Summary Annotation Type Description JohnzonAny JohnzonConverter JohnzonDeduplicateObjects Mark an Object to leverage object deduplication without having to explicitly enable it in the Mapper or JsonB Builder.JohnzonIgnore JohnzonIgnoreNested Only used during serialization for now.JohnzonProperty JohnzonRecord Forces method named as properties to be used as getters (String foo() will match the attribute foo).JohnzonRecord.Name When not using -parameters compiler argument, enables to customize parameter names.JohnzonVirtualObject Example: @JohnzonVirtualObject(path = {"nested", "nested-again"}, field = { "a", "b" }) will generate {"nested":{"nested-again":{"a":"xxx", "b": "yyy"}}}JohnzonVirtualObject.Field JohnzonVirtualObjects