Class JsonNodeWrapperToJsonNodeConverter
java.lang.Object
org.springframework.integration.json.JsonNodeWrapperToJsonNodeConverter
- All Implemented Interfaces:
org.springframework.core.convert.converter.GenericConverter
public class JsonNodeWrapperToJsonNodeConverter
extends java.lang.Object
implements org.springframework.core.convert.converter.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
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description JsonNodeWrapperToJsonNodeConverter()
-
Method Summary
Modifier and Type Method Description java.lang.Object
convert(java.lang.Object source, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)
java.util.Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair>
getConvertibleTypes()
-
Constructor Details
-
JsonNodeWrapperToJsonNodeConverter
public JsonNodeWrapperToJsonNodeConverter()
-
-
Method Details
-
getConvertibleTypes
public java.util.Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()- Specified by:
getConvertibleTypes
in interfaceorg.springframework.core.convert.converter.GenericConverter
-
convert
@Nullable public java.lang.Object convert(@Nullable java.lang.Object source, org.springframework.core.convert.TypeDescriptor sourceType, org.springframework.core.convert.TypeDescriptor targetType)- Specified by:
convert
in interfaceorg.springframework.core.convert.converter.GenericConverter
-