in paimon-web-server/src/main/java/org/apache/paimon/web/server/util/ObjectMapperUtils.java [68:77]
public static String toJSON(@Nullable Object obj) {
if (obj == null) {
return null;
}
try {
return MAPPER.writeValueAsString(obj);
} catch (JsonProcessingException e) {
throw new UncheckedIOException(e);
}
}