Class TinkerPopJacksonModule
- java.lang.Object
- 
- org.apache.tinkerpop.shaded.jackson.databind.Module
- 
- org.apache.tinkerpop.shaded.jackson.databind.module.SimpleModule
- 
- org.apache.tinkerpop.gremlin.structure.io.graphson.TinkerPopJacksonModule
 
 
 
- 
- All Implemented Interfaces:
- Serializable,- org.apache.tinkerpop.shaded.jackson.core.Versioned
 - Direct Known Subclasses:
- CustomId.CustomIdTinkerPopJacksonModuleV2,- CustomId.CustomIdTinkerPopJacksonModuleV3,- GraphSONXModuleV2,- GraphSONXModuleV3,- ToyIoRegistry.ToyModule
 
 public abstract class TinkerPopJacksonModule extends org.apache.tinkerpop.shaded.jackson.databind.module.SimpleModuleASimpleModuleextension that does the necessary work to make the automatic typed deserialization without full canonical class names work. Users of custom modules with the GraphSONMapper that want their objects to be deserialized automatically by the mapper, must extend this class with their module. It is the only required step. Using this basis module allows the serialization and deserialization of typed objects without having the whole canonical name of the serialized classes included in the Json payload. This is also necessary because Java does not provide an agnostic way to search in a classpath a find a class by its simple name. Although that could be done with an external library, later if we deem it necessary.- Author:
- Kevin Gallardo (https://kgdo.me)
- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class org.apache.tinkerpop.shaded.jackson.databind.module.SimpleModule_abstractTypes, _deserializerModifier, _deserializers, _hasExplicitName, _keyDeserializers, _keySerializers, _mixins, _name, _namingStrategy, _serializerModifier, _serializers, _subtypes, _valueInstantiators, _version
 
- 
 - 
Constructor SummaryConstructors Constructor Description TinkerPopJacksonModule(String name)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Map<Class,String>getTypeDefinitions()abstract StringgetTypeNamespace()- 
Methods inherited from class org.apache.tinkerpop.shaded.jackson.databind.module.SimpleModule_checkNotNull, addAbstractTypeMapping, addDeserializer, addKeyDeserializer, addKeySerializer, addSerializer, addSerializer, addValueInstantiator, getModuleName, getTypeId, registerSubtypes, registerSubtypes, registerSubtypes, setAbstractTypes, setDeserializerModifier, setDeserializers, setKeyDeserializers, setKeySerializers, setMixInAnnotation, setNamingStrategy, setSerializerModifier, setSerializers, setupModule, setValueInstantiators, version
 
- 
 
-