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) throws ArangoDBException
entity
- The Object to serialize. If it is from type String, it will be handled as a Json.ArangoDBException
com.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
Copyright © 2016–2018 ArangoDB GmbH. All rights reserved.