Package org.apache.johnzon.mapper
-
Interface Summary Interface Description Adapter<POJO_TYPE,JSON_TYPE> An Adapter is similar to aConverter
.Cleanable<A> 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 SnippetFactory TypeAwareAdapter<A,B> -
Enum Summary Enum Description DynamicMappingGenerator.WritingState -
Exception Summary Exception Description FactoryCreateException MapperException MissingFactoryException SetterMappingException -
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