Class SerializationReference<B,T>

java.lang.Object
io.micronaut.serde.reference.PropertyReference<B,T>
io.micronaut.serde.reference.SerializationReference<B,T>
Type Parameters:
B - The bean type
T - The property type

@Internal public class SerializationReference<B,T> extends PropertyReference<B,T>
Represents a reference to a property for serialization.
  • Constructor Details

    • SerializationReference

      public SerializationReference(String referenceName, io.micronaut.core.beans.BeanIntrospection<B> introspection, io.micronaut.core.type.Argument<T> property, T value, Serializer<T> serializer)
  • Method Details

    • getSerializer

      @NonNull public @NonNull Serializer<T> getSerializer()
      Returns:
      The serializer