Class StarGraphGraphSONSerializerV3
java.lang.Object
org.apache.tinkerpop.shaded.jackson.databind.JsonSerializer<T>
org.apache.tinkerpop.shaded.jackson.databind.ser.std.StdSerializer<DirectionalStarGraph>
org.apache.tinkerpop.gremlin.structure.util.star.StarGraphGraphSONSerializerV3
- All Implemented Interfaces:
Serializable,org.apache.tinkerpop.shaded.jackson.databind.jsonFormatVisitors.JsonFormatVisitable,org.apache.tinkerpop.shaded.jackson.databind.jsonschema.SchemaAware
public class StarGraphGraphSONSerializerV3
extends org.apache.tinkerpop.shaded.jackson.databind.ser.std.StdSerializer<DirectionalStarGraph>
- Author:
- Stephen Mallette (http://stephen.genoprime.com)
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.tinkerpop.shaded.jackson.databind.JsonSerializer
org.apache.tinkerpop.shaded.jackson.databind.JsonSerializer.None -
Field Summary
Fields inherited from class org.apache.tinkerpop.shaded.jackson.databind.ser.std.StdSerializer
_handledType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(DirectionalStarGraph starGraph, org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jsonGenerator, org.apache.tinkerpop.shaded.jackson.databind.SerializerProvider serializerProvider) voidserializeWithType(DirectionalStarGraph starGraph, org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jsonGenerator, org.apache.tinkerpop.shaded.jackson.databind.SerializerProvider serializerProvider, org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeSerializer typeSerializer) Methods inherited from class org.apache.tinkerpop.shaded.jackson.databind.ser.std.StdSerializer
_neitherNull, _nonEmpty, acceptJsonFormatVisitor, createSchemaNode, createSchemaNode, findAnnotatedContentSerializer, findContextualConvertingSerializer, findConvertingContentSerializer, findFormatFeature, findFormatOverrides, findIncludeOverrides, findPropertyFilter, getSchema, getSchema, handledType, isDefaultSerializer, visitArrayFormat, visitArrayFormat, visitFloatFormat, visitIntFormat, visitIntFormat, visitStringFormat, visitStringFormat, wrapAndThrow, wrapAndThrowMethods inherited from class org.apache.tinkerpop.shaded.jackson.databind.JsonSerializer
getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterId
-
Constructor Details
-
StarGraphGraphSONSerializerV3
public StarGraphGraphSONSerializerV3(boolean normalize)
-
-
Method Details
-
serialize
public void serialize(DirectionalStarGraph starGraph, org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jsonGenerator, org.apache.tinkerpop.shaded.jackson.databind.SerializerProvider serializerProvider) throws IOException, org.apache.tinkerpop.shaded.jackson.core.JsonGenerationException - Specified by:
serializein classorg.apache.tinkerpop.shaded.jackson.databind.ser.std.StdSerializer<DirectionalStarGraph>- Throws:
IOExceptionorg.apache.tinkerpop.shaded.jackson.core.JsonGenerationException
-
serializeWithType
public void serializeWithType(DirectionalStarGraph starGraph, org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jsonGenerator, org.apache.tinkerpop.shaded.jackson.databind.SerializerProvider serializerProvider, org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeSerializer typeSerializer) throws IOException, org.apache.tinkerpop.shaded.jackson.core.JsonProcessingException - Overrides:
serializeWithTypein classorg.apache.tinkerpop.shaded.jackson.databind.JsonSerializer<DirectionalStarGraph>- Throws:
IOExceptionorg.apache.tinkerpop.shaded.jackson.core.JsonProcessingException
-