Annotation Interface Serdeable.Deserializable

Enclosing class:
Serdeable

@Retention(RUNTIME) @Introspected public static @interface Serdeable.Deserializable
Annotation used to indicate a type is deserializable.
  • Element Details

    • using

      Class<? extends Deserializer> using
      Returns:
      The deserializer.
      Default:
      io.micronaut.serde.Deserializer.class
    • validate

      boolean validate
      Returns:
      Whether build time validation should fail compilation on definition errors.
      Default:
      true
    • as

      Class<?> as
      Use the given class to deserialize this type.
      Returns:
      A type that is a subclass of the annotated type.
      Default:
      void.class
    • naming

      Class<? extends PropertyNamingStrategy> naming
      Returns:
      Naming strategy to use.
      Default:
      io.micronaut.serde.config.naming.IdentityStrategy.class