Class SerdeCustomPojoSerializer

java.lang.Object
io.micronaut.function.aws.JsonMapperCustomPojoSerializer
io.micronaut.aws.lambda.events.serde.SerdeCustomPojoSerializer
All Implemented Interfaces:
com.amazonaws.services.lambda.runtime.CustomPojoSerializer

public class SerdeCustomPojoSerializer extends JsonMapperCustomPojoSerializer
Provides an implementation of CustomPojoSerializer which is loaded via SPI. This implementation avoids paying a double hit on performance when using a serialization library inside the Lambda function. This implementations adds the package "io.micronaut.aws.lambda.events.serde" which contains SerdeImport for the AWS Lambda Events classes to the ObjectMapper creation.
Since:
4.0.0
Author:
Sergio del Amo
  • Constructor Details

    • SerdeCustomPojoSerializer

      public SerdeCustomPojoSerializer()
  • Method Details