public class VPackParser extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
VPackParser.Builder |
| Constructor and Description |
|---|
VPackParser()
Deprecated.
use
VPack.Builder.build() instead |
| Modifier and Type | Method and Description |
|---|---|
VPackSlice |
fromJson(Iterable<String> jsons) |
VPackSlice |
fromJson(Iterable<String> jsons,
boolean includeNullValues) |
VPackSlice |
fromJson(String json) |
VPackSlice |
fromJson(String json,
boolean includeNullValues) |
VPackParser |
registerDeserializer(String attribute,
ValueType type,
VPackJsonDeserializer deserializer)
Deprecated.
|
VPackParser |
registerDeserializer(ValueType type,
VPackJsonDeserializer deserializer)
Deprecated.
|
<T> VPackParser |
registerSerializer(Class<T> type,
VPackJsonSerializer<T> serializer)
Deprecated.
|
<T> VPackParser |
registerSerializer(String attribute,
Class<T> type,
VPackJsonSerializer<T> serializer)
Deprecated.
|
String |
toJson(VPackSlice vpack) |
String |
toJson(VPackSlice vpack,
boolean includeNullValues) |
@Deprecated public VPackParser()
VPack.Builder.build() instead@Deprecated public VPackParser registerDeserializer(String attribute, ValueType type, VPackJsonDeserializer deserializer)
VPackParser.Builder.registerDeserializer(String, ValueType, VPackJsonDeserializer)
insteadattribute - type - deserializer - @Deprecated public VPackParser registerDeserializer(ValueType type, VPackJsonDeserializer deserializer)
VPackParser.Builder.registerDeserializer(ValueType, VPackJsonDeserializer) insteadtype - deserializer - @Deprecated public <T> VPackParser registerSerializer(String attribute, Class<T> type, VPackJsonSerializer<T> serializer)
VPackParser.Builder.registerSerializer(String, Class, VPackJsonSerializer) insteadattribute - type - serializer - @Deprecated public <T> VPackParser registerSerializer(Class<T> type, VPackJsonSerializer<T> serializer)
VPackParser.Builder.registerSerializer(Class, VPackJsonSerializer) insteadtype - serializer - public String toJson(VPackSlice vpack) throws VPackException
VPackExceptionpublic String toJson(VPackSlice vpack, boolean includeNullValues) throws VPackException
VPackExceptionpublic VPackSlice fromJson(String json) throws VPackException
VPackExceptionpublic VPackSlice fromJson(String json, boolean includeNullValues) throws VPackException
VPackExceptionpublic VPackSlice fromJson(Iterable<String> jsons) throws VPackException
VPackExceptionpublic VPackSlice fromJson(Iterable<String> jsons, boolean includeNullValues) throws VPackException
VPackExceptionCopyright © 2017 ArangoDB GmbH. All rights reserved.