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
ArangoSerializer
serialize
in interface ArangoSerializer
entity
- The Object to serialize. If it is from type String, it will be handled as a JSON.ArangoDBException
public com.arangodb.velocypack.VPackSlice serialize(Object entity, ArangoSerializer.Options options) throws ArangoDBException
ArangoSerializer
serialize
in interface ArangoSerializer
entity
- The Object to serialize. If it is from type String, it will be handled as a JSON.options
- Additional optionsArangoDBException
Copyright © 2016–2022 ArangoDB GmbH. All rights reserved.