Interface Converter<T>

Type Parameters:
T -
All Known Implementing Classes:
ObjectToObjectConverter, ObjectToOpenTypeConverter, TabularDataConverter

public interface Converter<T>
Generic deserialization/conversion interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    convert(T targetType, Object value)
    Generic deserialization/conversion method, where: targetType describes the desired type of the deserialized object (deserializers usually use Class, but we have other ways to specify the target type). value comes in some wire format (String or JSON), but we can also convert (which is wider term than deserialization) them from other types.
  • Method Details

    • convert

      Object convert(T targetType, Object value)

      Generic deserialization/conversion method, where:

      • targetType describes the desired type of the deserialized object (deserializers usually use Class, but we have other ways to specify the target type).
      • value comes in some wire format (String or JSON), but we can also convert (which is wider term than deserialization) them from other types.

      Parameters:
      targetType -
      value -
      Returns: