Class DurableInputOutputSerDes
java.lang.Object
software.amazon.lambda.durable.serde.DurableInputOutputSerDes
- All Implemented Interfaces:
SerDes
Serializer/Deserializer for Durable Execution Input and Output objects. This is for INTERNAL use only - handles
Lambda Durable Functions backend protocol.
Customer-facing serialization uses SerDes from DurableConfig.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DurableInputOutputSerDes
public DurableInputOutputSerDes()
-
-
Method Details
-
serialize
Serializes an object to a JSON string. -
deserialize
Deserializes a JSON string to DurableExecutionInput object- Specified by:
deserializein interfaceSerDes- Type Parameters:
T- the target type- Parameters:
data- the JSON string to deserializetypeToken- the type token of DurableExecutionInput- Returns:
- the deserialized object, or null if data is null
-