public class JSONUtils extends Object
| Constructor and Description |
|---|
JSONUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
toObject(Class<T> clazz,
String source)
Load a JSON string into an instantiated object.
|
public static <T> T toObject(Class<T> clazz, String source) throws JSONException
clazz - Class of the object which the JSON string would be loaded into.source - JSON string.JSONExceptionCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.