mxsm commented on code in PR #3123:
URL: 
https://github.com/apache/incubator-eventmesh/pull/3123#discussion_r1103735338


##########
eventmesh-common/src/main/java/org/apache/eventmesh/common/utils/JsonUtils.java:
##########
@@ -62,72 +63,72 @@ public static String serialize(Object obj) {
         }
     }
 
-    public static <T> byte[] serialize(String topic, Class<T> data) throws 
JsonProcessingException {
-        if (Objects.isNull(data)) {
+    public static byte[] toBytes(Object obj) {

Review Comment:
   @jonyangx  I will fix it and resubmit later



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to