Interface FormattedDeserializer<T>

Type Parameters:
T - The type to be deserialized
All Superinterfaces:
Deserializer<T>
All Known Subinterfaces:
FormattedSerde<T>, NumberSerde<N>, TemporalSerde<T>
All Known Implementing Classes:
DefaultFormattedTemporalSerde, InstantSerde, LocalDateSerde, LocalDateTimeSerde, LocalTimeSerde, ObjectArraySerde, OffsetDateTimeSerde, YearSerde, ZonedDateTimeSerde

public interface FormattedDeserializer<T> extends Deserializer<T>
A deserializer that can react to format metadata.
Since:
3.0
Author:
Denis Stepanov
  • Method Details

    • createSpecific

      default Deserializer<T> createSpecific(Deserializer.DecoderContext context, io.micronaut.core.type.Argument<? super T> type, FormatConfiguration format) throws SerdeException
      Create a more specific deserializer for the given definition and format configuration.
      Parameters:
      context - The decoder context
      type - The type definition including any annotation metadata
      format - The format configuration
      Returns:
      The more specific deserializer
      Throws:
      SerdeException - If the deserializer cannot be selected