@NotNull
  @Override
  public <T> T fromJsonString(@NotNull String json, @NotNull Class<T> targetClass) {
    try {
      return objectMapper.readValue(json, targetClass);
    } catch (JsonProcessingException e) {
      throw new RuntimeException(e);
    }
  }
Json mapper to adapt shaded jackson.
amoro-ams/src/main/java/org/apache/amoro/server/dashboard/JavalinJsonMapper.java