Search before asking
Environment
Linux
EventMesh version
master
What happened
when use http connector in common protocol,data type is json,there is a json deserialization error.
JsonUtils.parseObject(jsonString, String.class)` attempts to deserialize a JSON object into a String type
- An exception is thrown at the bottom layer of Jackson due to type mismatch
How to reproduce
enable http connector,using postman ,data like {"name":"Andy"}
Debug logs
org.apache.eventmesh.common.exception.JsonException: deserialize json string to object error
at org.apache.eventmesh.common.utils.JsonUtils.parseObject(JsonUtils.java:124)
at org.apache.eventmesh.connector.http.source.protocol.impl.CommonProtocol.lambda$setHandler$0(CommonProtocol.java:80)
Are you willing to submit PR?
Code of Conduct
Search before asking
Environment
Linux
EventMesh version
master
What happened
when use http connector in common protocol,data type is json,there is a json deserialization error.
JsonUtils.parseObject(jsonString, String.class)` attempts to deserialize a JSON object into a String type
How to reproduce
enable http connector,using postman ,data like {"name":"Andy"}
Debug logs
Are you willing to submit PR?
Code of Conduct