Package dev.restate.serde
package dev.restate.serde
-
ClassDescriptionPayload codec.Interface defining serialization and deserialization of concrete types.Schema to be serialized using internal Jackson mapper.Schema already serialized to String.This factory creates
Serdethat are used in various places of the SDK, notably: To deserialize handler's input and deserialize the output To serialize and deserialize state, awakeables, promises and so on When using the Java APIs, a Jackson based implementation is used by default, seeJacksonSerdeFactoryinsdk-serde-jacksonmodule.Combines aSerdeFactoryand aPayloadCodec: resolves theSerdefrom theTypeTag, then serializes and encodes, or decodes and deserializes, the values.TypeRef<T>This generic abstract class is used for obtaining full generics type information by sub-classing.TypeTag<T>This interface is used by the serialization stack to carry types runtime information.