public class EntityFactory extends Object
Constructor and Description |
---|
EntityFactory() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
createEntity(String jsonText,
Type type) |
static <T> String |
toImportHeaderValues(Collection<? extends Collection<?>> headerValues) |
static <T> com.google.gson.JsonElement |
toJsonElement(T obj,
boolean includeNullValue) |
static <T> JsonSequenceEntity |
toJsonSequenceEntity(Iterator<T> itr) |
static <T> String |
toJsonString(T obj) |
static <T> String |
toJsonString(T obj,
boolean includeNullValue) |
public static <T> String toJsonString(T obj)
public static <T> JsonSequenceEntity toJsonSequenceEntity(Iterator<T> itr)
public static <T> String toImportHeaderValues(Collection<? extends Collection<?>> headerValues)
public static <T> String toJsonString(T obj, boolean includeNullValue)
public static <T> com.google.gson.JsonElement toJsonElement(T obj, boolean includeNullValue)
obj
- includeNullValue
- Copyright © 2012–2015 ArangoDB GmbH. All rights reserved.