@Override
            public Object toConnect(final Schema schema, final JsonNode value) {
                if (!(value.isInt()))
                    throw new DataException("Invalid type for Time, underlying representation should be integer but was " + value.getNodeType());
                return Time.toLogical(schema, value.intValue());
            }
Implementation of {@link Converter} and {@link HeaderConverter} that uses JSON to store schemas and objects. By
default this converter will serialize Connect keys, values, and headers with schemas, although this can be disabled with
the {@link JsonConverterConfig#SCHEMAS_ENABLE_CONFIG schemas.enable} configuration option.
<p>
This implementation currently does nothing with the topic names or header keys.
connect/json/src/main/java/org/apache/kafka/connect/json/JsonConverter.java