Class StarGraphGraphSONSerializerV2

  • All Implemented Interfaces:
    Serializable, org.apache.tinkerpop.shaded.jackson.databind.jsonFormatVisitors.JsonFormatVisitable, org.apache.tinkerpop.shaded.jackson.databind.jsonschema.SchemaAware

    public class StarGraphGraphSONSerializerV2
    extends org.apache.tinkerpop.shaded.jackson.databind.ser.std.StdSerializer<DirectionalStarGraph>
    Author:
    Stephen Mallette (http://stephen.genoprime.com)
    See Also:
    Serialized Form
    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void serialize​(DirectionalStarGraph starGraph, org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jsonGenerator, org.apache.tinkerpop.shaded.jackson.databind.SerializerProvider serializerProvider)  
      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)  
      • 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, wrapAndThrow
      • Methods inherited from class org.apache.tinkerpop.shaded.jackson.databind.JsonSerializer

        getDelegatee, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterId
    • Constructor Detail

      • StarGraphGraphSONSerializerV2

        public StarGraphGraphSONSerializerV2​(boolean normalize)
    • Method Detail

      • 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:
        serialize in class org.apache.tinkerpop.shaded.jackson.databind.ser.std.StdSerializer<DirectionalStarGraph>
        Throws:
        IOException
        org.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:
        serializeWithType in class org.apache.tinkerpop.shaded.jackson.databind.JsonSerializer<DirectionalStarGraph>
        Throws:
        IOException
        org.apache.tinkerpop.shaded.jackson.core.JsonProcessingException