Class ORecordIdJacksonSerializer
java.lang.Object
org.apache.tinkerpop.shaded.jackson.databind.JsonSerializer<ORecordId>
org.apache.tinkerpop.gremlin.orientdb.io.graphson.ORecordIdJacksonSerializer
- All Implemented Interfaces:
org.apache.tinkerpop.shaded.jackson.databind.jsonFormatVisitors.JsonFormatVisitable
public final class ORecordIdJacksonSerializer
extends org.apache.tinkerpop.shaded.jackson.databind.JsonSerializer<ORecordId>
Created by Enrico Risa on 06/09/2017.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.tinkerpop.shaded.jackson.databind.JsonSerializer
org.apache.tinkerpop.shaded.jackson.databind.JsonSerializer.None -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(ORecordId value, org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jgen, org.apache.tinkerpop.shaded.jackson.databind.SerializerProvider provider) voidserializeWithType(ORecordId value, org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jgen, org.apache.tinkerpop.shaded.jackson.databind.SerializerProvider serializers, org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeSerializer typeSer) Methods inherited from class org.apache.tinkerpop.shaded.jackson.databind.JsonSerializer
acceptJsonFormatVisitor, getDelegatee, handledType, isEmpty, isEmpty, isUnwrappingSerializer, properties, replaceDelegatee, unwrappingSerializer, usesObjectId, withFilterId
-
Constructor Details
-
ORecordIdJacksonSerializer
public ORecordIdJacksonSerializer()
-
-
Method Details
-
serialize
public void serialize(ORecordId value, org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jgen, org.apache.tinkerpop.shaded.jackson.databind.SerializerProvider provider) throws IOException - Specified by:
serializein classorg.apache.tinkerpop.shaded.jackson.databind.JsonSerializer<ORecordId>- Throws:
IOException
-
serializeWithType
public void serializeWithType(ORecordId value, org.apache.tinkerpop.shaded.jackson.core.JsonGenerator jgen, org.apache.tinkerpop.shaded.jackson.databind.SerializerProvider serializers, org.apache.tinkerpop.shaded.jackson.databind.jsontype.TypeSerializer typeSer) throws IOException - Overrides:
serializeWithTypein classorg.apache.tinkerpop.shaded.jackson.databind.JsonSerializer<ORecordId>- Throws:
IOException
-