public class JsonUtils
extends java.lang.Object
Constructor and Description |
---|
JsonUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
getitem(JsonArray jsonArray,
int index) |
static java.lang.Object |
getitem(JsonObject jsonObject,
java.lang.String name) |
static JsonStructure |
toJson(java.lang.Object value) |
static JsonArray |
toJsonArray(java.lang.Object value) |
static JsonObject |
toJsonObject(java.lang.Object value) |
static java.lang.String |
toString(JsonStructure jsonstructure) |
public static java.lang.Object getitem(JsonArray jsonArray, int index)
public static java.lang.Object getitem(JsonObject jsonObject, java.lang.String name)
public static JsonStructure toJson(java.lang.Object value) throws CoercionException
CoercionException
public static JsonArray toJsonArray(java.lang.Object value) throws CoercionException
CoercionException
public static JsonObject toJsonObject(java.lang.Object value) throws CoercionException
CoercionException
public static java.lang.String toString(JsonStructure jsonstructure)