public static <T> JsonNode fromObjects(T object) {
    return OBJECT_MAPPER.valueToTree(object);
  }
Convert an java object(usually java bean) to JsonNode.
amoro-common/src/main/java/org/apache/amoro/utils/JacksonUtil.java