Interface JsonBindingConfigurator


public interface JsonBindingConfigurator
Interface for configuring JSON binding components.
  • Method Details

    • deserializer

      <T> JsonDeserializer<T> deserializer(Type type)
      Return a deserializer for the specified type.
      Type Parameters:
      T - the deserialized type
      Parameters:
      type - the type to get a deserializer for
      Returns:
      the deserializer for the type
    • deserializer

      <T> JsonDeserializer<T> deserializer(Class<T> type)
      Return a deserializer for the specified class.
      Type Parameters:
      T - the deserialized type
      Parameters:
      type - the class to get a deserializer for
      Returns:
      the deserializer for the class
    • deserializer

      <T> JsonDeserializer<T> deserializer(GenericType<T> type)
      Return a deserializer for the specified generic type.
      Type Parameters:
      T - the deserialized type
      Parameters:
      type - the generic type to get a deserializer for
      Returns:
      the deserializer for the generic type
    • serializer

      <T> JsonSerializer<T> serializer(Type type)
      Return a serializer for the specified type.
      Type Parameters:
      T - the serialized type
      Parameters:
      type - the type to get a serializer for
      Returns:
      the serializer for the type
    • serializer

      <T> JsonSerializer<T> serializer(Class<T> type)
      Return a serializer for the specified class.
      Type Parameters:
      T - the serialized type
      Parameters:
      type - the class to get a serializer for
      Returns:
      the serializer for the class
    • serializer

      <T> JsonSerializer<T> serializer(GenericType<T> type)
      Return a serializer for the specified generic type.
      Type Parameters:
      T - the serialized type
      Parameters:
      type - the generic type to get a serializer for
      Returns:
      the serializer for the generic type