Package com.c8db.util
Interface C8Serializer
-
- All Known Subinterfaces:
C8Serialization
- All Known Implementing Classes:
C8SerializerImpl,DefaultC8Serialization,VelocyJack
public interface C8Serializer
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classC8Serializer.Options
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.arangodb.velocypack.VPackSliceserialize(Object entity)Serialize a given Object to VelocyPackcom.arangodb.velocypack.VPackSliceserialize(Object entity, C8Serializer.Options options)Serialize a given Object to VelocyPack
-
-
-
Method Detail
-
serialize
com.arangodb.velocypack.VPackSlice serialize(Object entity) throws C8DBException
Serialize a given Object to VelocyPack- Parameters:
entity- The Object to serialize. If it is from type String, it will be handled as a JSON.- Returns:
- The serialized VelocyPack
- Throws:
C8DBException
-
serialize
com.arangodb.velocypack.VPackSlice serialize(Object entity, C8Serializer.Options options) throws C8DBException
Serialize a given Object to VelocyPack- Parameters:
entity- The Object to serialize. If it is from type String, it will be handled as a JSON.options- Additional options- Returns:
- the serialized VelocyPack
- Throws:
C8DBException
-
-