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 |
@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, VPackBuilder builder) throws VPackException
VPackExceptionpublic VPackSlice fromJson(String json, boolean includeNullValues) throws VPackException
VPackExceptionpublic VPackSlice fromJson(String json, boolean includeNullValues, VPackBuilder builder) throws VPackException
VPackExceptionpublic VPackSlice fromJson(Iterable<String> jsons) throws VPackException
VPackExceptionpublic VPackSlice fromJson(Iterable<String> jsons, VPackBuilder builder) throws VPackException
VPackExceptionpublic VPackSlice fromJson(Iterable<String> jsons, boolean includeNullValues) throws VPackException
VPackExceptionpublic VPackSlice fromJson(Iterable<String> jsons, boolean includeNullValues, VPackBuilder builder) throws VPackException
VPackExceptionCopyright © 2017–2021 ArangoDB GmbH. All rights reserved.