public class VPack extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
VPack.Builder |
static class |
VPack.SerializeOptions |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
deserialize(VPackSlice vpack,
Type type) |
VPackSlice |
serialize(Object entity)
Serialize a given Object to VelocyPack
|
VPackSlice |
serialize(Object entity,
Map<String,Object> additionalFields)
Deprecated.
use
serialize(Object, SerializeOptions) instead |
VPackSlice |
serialize(Object entity,
Type type)
Deprecated.
use
serialize(Object, SerializeOptions) instead |
VPackSlice |
serialize(Object entity,
Type type,
Map<String,Object> additionalFields)
Deprecated.
use
serialize(Object, SerializeOptions) instead |
VPackSlice |
serialize(Object entity,
VPack.SerializeOptions options)
Serialize a given Object to VelocyPack
|
public <T> T deserialize(VPackSlice vpack, Type type) throws VPackParserException
VPackParserExceptionpublic VPackSlice serialize(Object entity) throws VPackParserException
entity - The Object to serialize.VPackParserException@Deprecated public VPackSlice serialize(Object entity, Map<String,Object> additionalFields) throws VPackParserException
serialize(Object, SerializeOptions) insteadentity - The Object to serialize.additionalFields - Additional Key/Value pairs to include in the created VelocyPack.VPackParserException@Deprecated public VPackSlice serialize(Object entity, Type type) throws VPackParserException
serialize(Object, SerializeOptions) insteadentity - The Object to serialize.type - The source type of the Object.VPackParserException@Deprecated public VPackSlice serialize(Object entity, Type type, Map<String,Object> additionalFields) throws VPackParserException
serialize(Object, SerializeOptions) insteadentity - The Object to serialize.type - The source type of the Object.additionalFields - Additional Key/Value pairs to include in the created VelocyPack.VPackParserExceptionpublic VPackSlice serialize(Object entity, VPack.SerializeOptions options) throws VPackParserException
entity - The Object to serialize.options - Additional optionsVPackParserExceptionCopyright © 2017 ArangoDB GmbH. All rights reserved.