public class JsonConvert extends Object
Constructor and Description |
---|
JsonConvert() |
Modifier and Type | Method and Description |
---|---|
static <T> T |
deserializeObject(Class<T> targetClass,
String input) |
static <T> List<T> |
deserializeObject(RavenJArray array,
Class<T> targetClass,
String propertyName)
This method gets RavenJArray, extracts propertyName from each object and maps to targetClass
|
static String |
serializeObject(Object obj) |
public static <T> List<T> deserializeObject(RavenJArray array, Class<T> targetClass, String propertyName)
array
- targetClass
- propertyName
- IOException
org.codehaus.jackson.map.JsonMappingException
org.codehaus.jackson.JsonParseException
Copyright © 2016. All Rights Reserved.