public class ArangoSerializerImpl extends Object implements ArangoSerializer
ArangoSerializer.Options| Constructor and Description |
|---|
ArangoSerializerImpl(com.arangodb.velocypack.VPack vpacker,
com.arangodb.velocypack.VPack vpackerNull,
com.arangodb.velocypack.VPackParser vpackParser) |
| 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
|
public ArangoSerializerImpl(com.arangodb.velocypack.VPack vpacker,
com.arangodb.velocypack.VPack vpackerNull,
com.arangodb.velocypack.VPackParser vpackParser)
public com.arangodb.velocypack.VPackSlice serialize(Object entity) throws ArangoDBException
ArangoSerializerserialize in interface ArangoSerializerentity - The Object to serialize. If it is from type String, it will be handled as a JSON.ArangoDBExceptionpublic com.arangodb.velocypack.VPackSlice serialize(Object entity, ArangoSerializer.Options options) throws ArangoDBException
ArangoSerializerserialize in interface ArangoSerializerentity - The Object to serialize. If it is from type String, it will be handled as a JSON.options - Additional optionsArangoDBExceptionCopyright © 2016–2020 ArangoDB GmbH. All rights reserved.