readStepPayload

abstract fun readStepPayload(payload: String?): Map<String, Any?>(source)

Deserializes the step payload (JSON, written by the saga engine on step recording) into a Map. Returns an empty map when the payload is null/blank. Use it inside SagaCompensator to read the data captured at step-record time and assemble the typed TCommand.