Class ToStringGraphSONSerializer
- java.lang.Object
- 
- org.apache.tinkerpop.shaded.jackson.databind.JsonSerializer<T>
- 
- org.apache.tinkerpop.shaded.jackson.databind.ser.std.StdSerializer<Object>
- 
- org.apache.tinkerpop.shaded.jackson.databind.ser.std.ToStringSerializerBase
- 
- org.apache.tinkerpop.shaded.jackson.databind.ser.std.ToStringSerializer
- 
- org.apache.tinkerpop.gremlin.structure.io.graphson.ToStringGraphSONSerializer
 
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- org.apache.tinkerpop.shaded.jackson.databind.jsonFormatVisitors.JsonFormatVisitable,- org.apache.tinkerpop.shaded.jackson.databind.jsonschema.SchemaAware
 
 public class ToStringGraphSONSerializer extends org.apache.tinkerpop.shaded.jackson.databind.ser.std.ToStringSerializerA different implementation of theToStringSerializerthat does not serialize types by calling `typeSerializer.writeTypePrefixForScalar()` for unknown objects, because it doesn't make sense when there is a custom types mechanism in place.- Author:
- Kevin Gallardo (https://kgdo.me)
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description ToStringGraphSONSerializer()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidserializeWithType(Object value, org.apache.tinkerpop.shaded.jackson.core.JsonGenerator gen, org.apache.tinkerpop.shaded.jackson.databind.SerializerProvider provider, org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeSerializer typeSer)- 
Methods inherited from class org.apache.tinkerpop.shaded.jackson.databind.ser.std.ToStringSerializervalueToString
 - 
Methods inherited from class org.apache.tinkerpop.shaded.jackson.databind.ser.std.ToStringSerializerBaseacceptJsonFormatVisitor, getSchema, isEmpty, serialize
 - 
Methods inherited from class org.apache.tinkerpop.shaded.jackson.databind.ser.std.StdSerializer_neitherNull, _nonEmpty, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrow
 
- 
 
- 
- 
- 
Method Detail- 
serializeWithTypepublic void serializeWithType(Object value, org.apache.tinkerpop.shaded.jackson.core.JsonGenerator gen, org.apache.tinkerpop.shaded.jackson.databind.SerializerProvider provider, org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeSerializer typeSer) throws IOException - Overrides:
- serializeWithTypein class- org.apache.tinkerpop.shaded.jackson.databind.ser.std.ToStringSerializerBase
- Throws:
- IOException
 
 
- 
 
-