Class JacksonSerdeFactory

java.lang.Object
dev.restate.serde.jackson.JacksonSerdeFactory
All Implemented Interfaces:
SerdeFactory

public class JacksonSerdeFactory extends Object implements SerdeFactory
This class implements SerdeFactory using Jackson's ObjectMapper.

If you want to customize the ObjectMapper used in your service, it is recommended to subclass this class using the constructor JacksonSerdeFactory(ObjectMapper), and then register it using the CustomSerdeFactory annotation.

  • Field Details

  • Constructor Details

    • JacksonSerdeFactory

      public JacksonSerdeFactory()
    • JacksonSerdeFactory

      public JacksonSerdeFactory(com.fasterxml.jackson.databind.ObjectMapper mapper)
    • JacksonSerdeFactory

      public JacksonSerdeFactory(com.fasterxml.jackson.databind.ObjectMapper mapper, com.github.victools.jsonschema.generator.SchemaGenerator schemaGenerator)
  • Method Details