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

    Nested classes/interfaces inherited from interface org.springframework.core.convert.converter.GenericConverter

    org.springframework.core.convert.converter.GenericConverter.ConvertiblePair
  • 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()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • getConvertibleTypes

      public java.util.Set<org.springframework.core.convert.converter.GenericConverter.ConvertiblePair> getConvertibleTypes()
      Specified by:
      getConvertibleTypes in interface org.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 interface org.springframework.core.convert.converter.GenericConverter