adutra commented on code in PR #19240:
URL: https://github.com/apache/iceberg/pull/19240#discussion_r4758134171
##########
core/src/main/java/org/apache/iceberg/util/JsonUtil.java:
##########
@@ -86,19 +218,24 @@ public static String generate(ToJson toJson, boolean
pretty) {
}
}
+ /**
+ * A function that parses JSON from a Jackson 2 {@link JsonNode}.
+ *
+ * @deprecated since 1.13.0, will be removed in 1.14.0; use {@link
#parseJson(String)} and a
+ * function of {@link JsonTree} instead.
+ */
+ @Deprecated
@FunctionalInterface
public interface FromJson<T> {
Review Comment:
This legacy functional interface was not ported to the new design. Instead,
the `parse` methods simply return `JsonTree`, and the caller applies the
`JsonTree -> T` mapping itself.
--
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]