| Package | Description |
|---|---|
| org.exoplatform.ws.frameworks.json | |
| org.exoplatform.ws.frameworks.json.impl | |
| org.exoplatform.ws.frameworks.json.value | |
| org.exoplatform.ws.frameworks.json.value.impl |
| Modifier and Type | Method and Description |
|---|---|
JsonValue |
JsonGenerator.createJsonObject(Object bean)
Get HashMap representation for Java Bean object.
|
JsonValue |
JsonHandler.getJsonObject() |
| Modifier and Type | Method and Description |
|---|---|
JsonValue |
JsonGeneratorImpl.createJsonArray(Collection<?> collection)
Create JSON array from specified collection.
|
JsonValue |
JsonGeneratorImpl.createJsonArray(Object array)
Create JSON array from specified object.
|
JsonValue |
JsonGeneratorImpl.createJsonObject(Object object)
Create JSON object from specified object.
|
JsonValue |
JsonGeneratorImpl.createJsonObjectFromMap(Map<String,?> map)
Create JSON object from specified map.
|
JsonValue |
JsonGeneratorImpl.createJsonObjectFromString(String s)
Create JSON object from specified string imply it is JSON object in String
format.
|
JsonValue |
JsonDefaultHandler.getJsonObject() |
| Modifier and Type | Method and Description |
|---|---|
static Object |
ObjectBuilder.createArray(Class<?> clazz,
JsonValue jsonArray)
Create array of Java Object from JSON source include multi-dimension
array.
|
static <T extends Collection<?>> |
ObjectBuilder.createCollection(Class<T> collectionClass,
Type genericType,
JsonValue jsonArray)
Create instance of
collectionClass from JSON representation. |
Object |
BeanBuilder.createObject(Class<?> clazz,
JsonValue jsonValue)
Deprecated.
Create Java Bean from JSON Source.
|
static <T> T |
ObjectBuilder.createObject(Class<T> clazz,
JsonValue jsonValue)
Create Java Bean from Json Source.
|
static <T extends Map<String,?>> |
ObjectBuilder.createObject(Class<T> mapClass,
Type genericType,
JsonValue jsonObject)
Create instance of
mapClass from JSON representation. |
| Modifier and Type | Method and Description |
|---|---|
JsonValue |
JsonValue.getElement(String key)
Get value by key.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<JsonValue> |
JsonValue.getElements()
Get all element of this value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JsonValue.addElement(JsonValue child)
Add child value.
|
void |
JsonValue.addElement(String key,
JsonValue child)
Add child value.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ArrayValue |
class |
BooleanValue |
class |
DoubleValue |
class |
LongValue |
class |
NullValue |
class |
NumericValue |
class |
ObjectValue |
class |
StringValue |
| Modifier and Type | Method and Description |
|---|---|
JsonValue |
ObjectValue.getElement(String key)
Get value by key.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<JsonValue> |
ArrayValue.getElements()
Get all element of this value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ArrayValue.addElement(JsonValue child)
Add child value.
|
void |
ObjectValue.addElement(String key,
JsonValue child)
Add child value.
|
Copyright © 2019 eXo Platform SAS. All Rights Reserved.