public interface ArangoSerializer
| Modifier and Type | Interface and Description |
|---|---|
static class |
ArangoSerializer.Options |
| 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,
ArangoSerializer.Options options)
Serialize a given Object to VelocyPack
|
com.arangodb.velocypack.VPackSlice |
serialize(Object entity,
boolean serializeNullValues)
Deprecated.
use
serialize(Object, Options) instead |
com.arangodb.velocypack.VPackSlice |
serialize(Object entity,
boolean serializeNullValues,
boolean stringAsJson)
Deprecated.
use
serialize(Object, Options) instead |
com.arangodb.velocypack.VPackSlice |
serialize(Object entity,
Type type)
Deprecated.
use
serialize(Object, Options) instead |
com.arangodb.velocypack.VPackSlice |
serialize(Object entity,
Type type,
boolean serializeNullValues)
Deprecated.
use
serialize(Object, Options) instead |
com.arangodb.velocypack.VPackSlice |
serialize(Object entity,
Type type,
Map<String,Object> additionalFields)
Deprecated.
use
serialize(Object, Options) instead |
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, ArangoSerializer.Options options) throws ArangoDBException
entity - The Object to serialize. If it is from type String, it will be handled as a Json.options - Additional optionsArangoDBException@Deprecated com.arangodb.velocypack.VPackSlice serialize(Object entity, boolean serializeNullValues) throws ArangoDBException
serialize(Object, Options) insteadentity - 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.ArangoDBException@Deprecated com.arangodb.velocypack.VPackSlice serialize(Object entity, boolean serializeNullValues, boolean stringAsJson) throws ArangoDBException
serialize(Object, Options) insteadentity - 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 - ArangoDBException@Deprecated com.arangodb.velocypack.VPackSlice serialize(Object entity, Type type) throws ArangoDBException
serialize(Object, Options) insteadentity - The Object to serializetype - The source type of the Object.ArangoDBException@Deprecated com.arangodb.velocypack.VPackSlice serialize(Object entity, Type type, boolean serializeNullValues) throws ArangoDBException
serialize(Object, Options) insteadentity - The Object to serializetype - The source type of the Object.serializeNullValues - Whether or not null values should be excluded from serialization.ArangoDBException@Deprecated com.arangodb.velocypack.VPackSlice serialize(Object entity, Type type, Map<String,Object> additionalFields) throws ArangoDBException
serialize(Object, Options) insteadentity - 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.