Package org.apache.johnzon.mapper
Class MappingParserImpl.SuppressConversionMappingParser
- java.lang.Object
-
- org.apache.johnzon.mapper.MappingParserImpl.SuppressConversionMappingParser
-
- All Implemented Interfaces:
MappingParser
- Enclosing class:
- MappingParserImpl
private static class MappingParserImpl.SuppressConversionMappingParser extends Object implements MappingParser
Internal class to suppressObjectConverter
lookup if and only if theJsonValue
is the same refernece than the lookup was done before.
-
-
Field Summary
Fields Modifier and Type Field Description private MappingParserImpl
delegate
private Collection<Class<?>>
skippedConverters
private jakarta.json.JsonObject
suppressConversionFor
-
Constructor Summary
Constructors Constructor Description SuppressConversionMappingParser(MappingParserImpl delegate, jakarta.json.JsonObject suppressConversionFor, Collection<Class<?>> skippedConverters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Class<?>>
getSkippedConverters()
<T> T
readObject(jakarta.json.JsonValue jsonValue, Type targetType)
<T> T
readObject(Type targetType)
-
-
-
Field Detail
-
delegate
private final MappingParserImpl delegate
-
suppressConversionFor
private final jakarta.json.JsonObject suppressConversionFor
-
skippedConverters
private final Collection<Class<?>> skippedConverters
-
-
Constructor Detail
-
SuppressConversionMappingParser
public SuppressConversionMappingParser(MappingParserImpl delegate, jakarta.json.JsonObject suppressConversionFor, Collection<Class<?>> skippedConverters)
-
-
Method Detail
-
getSkippedConverters
public Collection<Class<?>> getSkippedConverters()
- Specified by:
getSkippedConverters
in interfaceMappingParser
-
readObject
public <T> T readObject(Type targetType)
- Specified by:
readObject
in interfaceMappingParser
-
readObject
public <T> T readObject(jakarta.json.JsonValue jsonValue, Type targetType)
- Specified by:
readObject
in interfaceMappingParser
-
-