@Override
        public void serializeWithType(final T value, final JsonGenerator gen,
                                      final SerializerProvider serializers, final TypeSerializer typeSer) throws IOException {
            typeSer.writeTypePrefixForObject(value, gen);
            gen.writeStringField(GraphSONTokens.VALUE, value.toString());
            typeSer.writeTypeSuffixForObject(value, gen);
        }
Base class for serializing the {@code java.time.*} to ISO-8061 formats.
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/JavaTimeSerializersV1.java