Module org.apache.johnzon.mapper
Package org.apache.johnzon.mapper
package org.apache.johnzon.mapper
-
ClassDescriptionAdapter<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.Mark an Object to leverage object deduplication without having to explicitly enable it in the Mapper or JsonB Builder.Only used during serialization for now.Forces method named as properties to be used as getters (String foo() will match the attribute foo).When not using -parameters compiler argument, enables to customize parameter names.Example: @JohnzonVirtualObject(path = {"nested", "nested-again"}, field = { "a", "b" }) will generate {"nested":{"nested-again":{"a":"xxx", "b": "yyy"}}}Contains internal configuration for all the mapper stuff.MapperConverter is the common marker interface for all Converters available in JohnzonHandles writing Json for Objects.Handles reading Json for Objects.This class is not concurrently usable as it contains state.Internal class to suppressObjectConverterlookup if and only if theJsonValueis the same refernece than the lookup was done before.Convert a given Java Type a nested JSON representation.TypeAwareAdapter<A,B>