public class JSONUtils extends Object
Modifier and Type | Class and Description |
---|---|
static class |
JSONUtils.Array
Abstraction of a JSON array.
|
static class |
JSONUtils.Item
Abstraction of a JSON object.
|
static class |
JSONUtils.Primitive
Abstraction of a JSON primitive (string, int, boolean) value.
|
Modifier and Type | Method and Description |
---|---|
static <E extends Enum<E>> |
fromKey(Class<E> c,
String key)
Create the Enum based on JSON key.
|
static String |
toKey(Enum<?> e)
Create a string representation of JSON key based on the Enum name.
|
Copyright © 2016. All Rights Reserved.