| Modifier and Type | Class and Description |
|---|---|
class |
JsonArray
Server-side implementation of JsonArray.
|
class |
JsonBoolean |
class |
JsonNull
Server-side implementation of JsonObject.
|
class |
JsonNumber
Server-side implementation of JsonNumber.
|
class |
JsonObject
Server-side implementation of JsonObject.
|
class |
JsonString
Server-side implementation of JsonString.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends JsonValue> |
JsonUtil.parse(String json) |
<T extends JsonValue> |
JsonFactory.parse(String jsonString) |
| Modifier and Type | Method and Description |
|---|---|
JsonValue |
JsonArray.get(int index) |
JsonValue |
JsonObject.get(String key) |
JsonValue |
JsonObject.getFirst(Collection<String> keys) |
| Modifier and Type | Method and Description |
|---|---|
void |
JsonObject.put(String key,
JsonValue value) |
void |
JsonArray.set(int index,
JsonValue value) |
void |
JsonObject.set(String key,
JsonValue value) |
static String |
JsonUtil.stringify(JsonValue jsonValue)
Converts a Json Object to Json format.
|
static String |
JsonUtil.stringify(JsonValue jsonValue,
int spaces)
Converts a JSO to Json format.
|
static String |
JsonUtil.stringify(JsonValue jsonValue,
String indent)
Converts a Json object to Json formatted String.
|
Copyright © 2017–2020 JBoss by Red Hat. All rights reserved.