Class JsonNodeWrapperToJsonNodeConverter
java.lang.Object
org.springframework.integration.json.JsonNodeWrapperToJsonNodeConverter
- All Implemented Interfaces:
GenericConverter
public class JsonNodeWrapperToJsonNodeConverter extends Object implements GenericConverter
The
Converter
implementation for the conversion
of JsonPropertyAccessor.JsonNodeWrapper
to JsonNode
,
when the JsonPropertyAccessor.JsonNodeWrapper
can be a result of the expression
for JSON in case of the JsonPropertyAccessor
usage.- Since:
- 5.5
- Author:
- Pierre Lakreb, Artem Bilan
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.core.convert.converter.GenericConverter
GenericConverter.ConvertiblePair
-
Constructor Summary
Constructors Constructor Description JsonNodeWrapperToJsonNodeConverter()
-
Method Summary
Modifier and Type Method Description Object
convert(Object source, TypeDescriptor sourceType, TypeDescriptor targetType)
Set<GenericConverter.ConvertiblePair>
getConvertibleTypes()
-
Constructor Details
-
JsonNodeWrapperToJsonNodeConverter
public JsonNodeWrapperToJsonNodeConverter()
-
-
Method Details
-
getConvertibleTypes
- Specified by:
getConvertibleTypes
in interfaceGenericConverter
-
convert
@Nullable public Object convert(@Nullable Object source, TypeDescriptor sourceType, TypeDescriptor targetType)- Specified by:
convert
in interfaceGenericConverter
-