common/src/main/java/org/apache/rocketmq/eventbridge/tools/JsonUtil.java [56:64]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public static boolean isEmptyJsonObject(String jsonString) {
        JsonElement element = null;
        try {
            element = new JsonParser().parse(jsonString);
        } catch (JsonSyntaxException e) {
            throw new InvalidEventPatternException(PatternErrorMessages.INVALID_JSON_STRING, e);
        }
        return "{}".equals(element.toString()) ? Boolean.TRUE : Boolean.FALSE;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



common/src/main/java/org/apache/rocketmq/eventbridge/tools/transform/JsonUtil.java [117:125]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public static boolean isEmptyJsonObject(String jsonString) {
        JsonElement element = null;
        try {
            element = new JsonParser().parse(jsonString);
        } catch (JsonSyntaxException e) {
            throw new InvalidEventPatternException(PatternErrorMessages.INVALID_JSON_STRING, e);
        }
        return "{}".equals(element.toString()) ? Boolean.TRUE : Boolean.FALSE;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



