public static JsonValue tryParseBytes(byte[] input) throws IOException {
        return JsonValue.apply(MAPPER.readTree(input));
    }
Parse a JSON byte array into a JsonValue if possible. `Empty` is returned if `input` is not valid JSON.
server-common/src/main/java/org/apache/kafka/server/util/Json.java