public class VPackParser extends Object
Constructor and Description |
---|
VPackParser() |
Modifier and Type | Method and Description |
---|---|
VPackSlice |
fromJson(String json) |
VPackSlice |
fromJson(String json,
boolean includeNullValues) |
VPackParser |
registerDeserializer(String attribute,
ValueType type,
VPackJsonDeserializer deserializer) |
VPackParser |
registerDeserializer(ValueType type,
VPackJsonDeserializer deserializer) |
<T> VPackParser |
registerSerializer(Class<T> type,
VPackJsonSerializer<T> serializer) |
<T> VPackParser |
registerSerializer(String attribute,
Class<T> type,
VPackJsonSerializer<T> serializer) |
String |
toJson(VPackSlice vpack) |
String |
toJson(VPackSlice vpack,
boolean includeNullValues) |
public String toJson(VPackSlice vpack) throws VPackException
VPackException
public String toJson(VPackSlice vpack, boolean includeNullValues) throws VPackException
VPackException
public VPackParser registerDeserializer(String attribute, ValueType type, VPackJsonDeserializer deserializer)
public VPackParser registerDeserializer(ValueType type, VPackJsonDeserializer deserializer)
public <T> VPackParser registerSerializer(String attribute, Class<T> type, VPackJsonSerializer<T> serializer)
public <T> VPackParser registerSerializer(Class<T> type, VPackJsonSerializer<T> serializer)
public VPackSlice fromJson(String json) throws VPackException
VPackException
public VPackSlice fromJson(String json, boolean includeNullValues) throws VPackException
VPackException
Copyright © 2016–2017 ArangoDB GmbH. All rights reserved.