public interface ArangoSerializer
| Modifier and Type | Method and Description |
|---|---|
com.arangodb.velocypack.VPackSlice |
serialize(Object entity)
Serialize a given Object to VelocyPack
|
com.arangodb.velocypack.VPackSlice |
serialize(Object entity,
boolean serializeNullValues)
Serialize a given Object to VelocyPack
|
com.arangodb.velocypack.VPackSlice |
serialize(Object entity,
boolean serializeNullValues,
boolean stringAsJson)
Serialize a given Object to VelocyPack.
|
com.arangodb.velocypack.VPackSlice |
serialize(Object entity,
Type type)
Serialize a given Object to VelocyPack.
|
com.arangodb.velocypack.VPackSlice |
serialize(Object entity,
Type type,
boolean serializeNullValues)
Serialize a given Object to VelocyPack.
|
com.arangodb.velocypack.VPackSlice |
serialize(Object entity,
Type type,
Map<String,Object> additionalFields)
Serialize a given Object to VelocyPack.
|
com.arangodb.velocypack.VPackSlice serialize(Object entity) throws ArangoDBException
entity - The Object to serialize. If it is from type String, it will be handled as a Json.ArangoDBExceptioncom.arangodb.velocypack.VPackSlice serialize(Object entity, boolean serializeNullValues) throws ArangoDBException
entity - The Object to serialize. If it is from type String, it will be handled as a Json.serializeNullValues - Whether or not null values should be excluded from serialization.ArangoDBExceptioncom.arangodb.velocypack.VPackSlice serialize(Object entity, boolean serializeNullValues, boolean stringAsJson) throws ArangoDBException
entity - The Object to serialize. If it is from type String, it will be handled as a Json.serializeNullValues - Whether or not null values should be excluded from serialization.stringAsJson - ArangoDBExceptioncom.arangodb.velocypack.VPackSlice serialize(Object entity, Type type) throws ArangoDBException
entity - The Object to serializetype - The source type of the Object.ArangoDBExceptioncom.arangodb.velocypack.VPackSlice serialize(Object entity, Type type, boolean serializeNullValues) throws ArangoDBException
entity - The Object to serializetype - The source type of the Object.serializeNullValues - Whether or not null values should be excluded from serialization.ArangoDBExceptioncom.arangodb.velocypack.VPackSlice serialize(Object entity, Type type, Map<String,Object> additionalFields) throws ArangoDBException
entity - The Object to serializetype - The source type of the Object.serializeNullValues - Whether or not null values should be excluded from serialization.additionalFields - Additional Key/Value pairs to include in the created VelocyPackArangoDBExceptionCopyright © 2016–2017 ArangoDB GmbH. All rights reserved.