@Override
        public T deserialize(final JsonParser jsonParser, final DeserializationContext deserializationContext) throws IOException {
            if (!jsonParser.getText().equals(GraphSONTokens.VALUE))
                throw new IOException(String.format("Invalid format for %s - expecting '%s' with a text value in ISO-8061 format", _valueClass.getSimpleName(), GraphSONTokens.VALUE));

            return parse(jsonParser.nextTextValue());
        }
Base class for serializing the {@code java.time.*} from ISO-8061 formats.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/JavaTimeSerializersV1.java