| Package | Description |
|---|---|
| tr.com.terrayazilim.json | |
| tr.com.terrayazilim.json.stream |
| Modifier and Type | Method and Description |
|---|---|
JsonArray |
JsonArray.getJSONArray(int index)
Get the JsonArray associated with an index.
|
JsonArray |
JsonObject.getJSONArray(String key)
Get the JsonArray value associated with a key.
|
JsonArray |
JsonObject.names()
Produce a JsonArray containing the names of the elements of this JsonObject.
|
JsonArray |
JsonArray.optJSONArray(int index)
Get the optional JsonArray associated with an index.
|
JsonArray |
JsonObject.optJSONArray(String key)
Get an optional JsonArray associated with a key.
|
JsonArray |
JsonArray.put(boolean value)
Append a boolean value.
|
JsonArray |
JsonArray.put(Collection<?> value)
Put a value in the JsonArray, where the value will be a JsonArray which is produced from a
Collection.
|
JsonArray |
JsonArray.put(double value)
Append a double value.
|
JsonArray |
JsonArray.put(int value)
Append an int value.
|
JsonArray |
JsonArray.put(int index,
boolean value)
Put or replace a boolean value in the JsonArray.
|
JsonArray |
JsonArray.put(int index,
Collection<?> value)
Put a value in the JsonArray, where the value will be a JsonArray which is produced from a
Collection.
|
JsonArray |
JsonArray.put(int index,
double value)
Put or replace a double value.
|
JsonArray |
JsonArray.put(int index,
int value)
Put or replace an int value.
|
JsonArray |
JsonArray.put(int index,
long value)
Put or replace a long value.
|
JsonArray |
JsonArray.put(int index,
Map<?,?> value)
Put a value in the JsonArray, where the value will be a JsonObject that is produced from a Map.
|
JsonArray |
JsonArray.put(int index,
Object value)
Put or replace an object value in the JsonArray.
|
JsonArray |
JsonArray.put(long value)
Append an long value.
|
JsonArray |
JsonArray.put(Map<?,?> value)
Put a value in the JsonArray, where the value will be a JsonObject which is produced from a
Map.
|
JsonArray |
JsonArray.put(Object value)
Append an object value.
|
JsonArray |
JsonObject.toJSONArray(JsonArray names)
Produce a JsonArray containing the values of the members of this JsonObject.
|
| Modifier and Type | Method and Description |
|---|---|
JsonArray |
JsonObject.toJSONArray(JsonArray names)
Produce a JsonArray containing the values of the members of this JsonObject.
|
JsonObject |
JsonArray.toJSONObject(JsonArray names)
Produce a JsonObject by combining a JsonArray of names with the values of this JsonArray.
|
| Modifier and Type | Method and Description |
|---|---|
JsonArray |
JsonStream.getJsonArray() |
JsonArray |
JsonStream.nextArray()
If there is no more element or next element type is not instance of JsonArray, method throws
JsonException |
JsonArray |
JsonStream.peekArray()
If peeked element type is not instance of JsonArray, method throws
JsonException |
| Constructor and Description |
|---|
JsonStream(JsonArray jsonArray) |
Copyright © 2018 Terra Software Informatics LLC.. All rights reserved.