in saga-format/src/main/java/org/apache/servicecomb/saga/format/JacksonFromJsonFormat.java [45:57]
public SagaDefinition fromJson(String requestJson) {
try {
JsonSagaDefinition definition = objectMapper.readValue(requestJson, JsonSagaDefinition.class);
for (JsonSagaRequest request : definition.requests()) {
request.with(transportFactory);
}
return definition;
} catch (IOException e) {
throw new SagaException("Failed to interpret JSON " + requestJson, e);
}
}