diff --git a/dynamic-mapping-service/src/main/java/dynamic/mapping/processor/inbound/AsynchronousDispatcherInbound.java b/dynamic-mapping-service/src/main/java/dynamic/mapping/processor/inbound/AsynchronousDispatcherInbound.java index 6bcf66b3..c3d838b5 100644 --- a/dynamic-mapping-service/src/main/java/dynamic/mapping/processor/inbound/AsynchronousDispatcherInbound.java +++ b/dynamic-mapping-service/src/main/java/dynamic/mapping/processor/inbound/AsynchronousDispatcherInbound.java @@ -177,7 +177,7 @@ public List> call() throws Exception { serializedPayload = Hex.encodeHexString((byte[]) payloadByte); break; case Object payloadObject: - serializedPayload = JsonPath.parse(payloadObject).jsonString(); + serializedPayload = JsonPath.parse(payloadObject).json().toString(); break; }