| Package | Description |
|---|---|
| org.everrest.core.impl.provider.json |
| Modifier and Type | Method and Description |
|---|---|
void |
JsonWriter.close() |
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. |
static JsonValue |
JsonGenerator.createJsonArray(Collection<?> collection)
Create JSON array from specified collection.
|
static JsonValue |
JsonGenerator.createJsonArray(Object array)
Create JSON array from specified object.
|
static JsonValue |
JsonGenerator.createJsonObject(Object object)
Create JSON object from specified object.
|
static JsonValue |
JsonGenerator.createJsonObjectFromMap(Map<String,?> map)
Create JSON object from specified map.
|
JsonValue |
JsonGenerator.createJsonObjectFromString(String s)
Create JSON object from specified string imply it is JSON object in String
format.
|
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. |
void |
JsonWriter.flush() |
void |
JsonParser.parse(InputStream stream) |
void |
JsonParser.parse(Reader reader) |
void |
JsonWriter.writeEndArray() |
void |
JsonWriter.writeEndObject() |
void |
JsonWriter.writeKey(String key) |
void |
JsonWriter.writeNull() |
void |
JsonWriter.writeStartArray() |
void |
JsonWriter.writeStartObject() |
void |
JsonWriter.writeString(String value) |
void |
StringValue.writeTo(JsonWriter writer) |
void |
ObjectValue.writeTo(JsonWriter writer) |
void |
NullValue.writeTo(JsonWriter writer) |
void |
LongValue.writeTo(JsonWriter writer) |
abstract void |
JsonValue.writeTo(JsonWriter writer)
Write value in given writer.
|
void |
DoubleValue.writeTo(JsonWriter writer) |
void |
BooleanValue.writeTo(JsonWriter writer) |
void |
ArrayValue.writeTo(JsonWriter writer) |
void |
JsonWriter.writeValue(boolean value) |
void |
JsonWriter.writeValue(double value) |
void |
JsonWriter.writeValue(long value) |
Copyright © 2015. All rights reserved.