| 程序包 | 说明 |
|---|---|
| com.dianping.cat.util.json |
| 限定符和类型 | 方法和说明 |
|---|---|
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(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,
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,
Object value)
Put or replace an object value in the JSONArray.
|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
Copyright © 2022. All rights reserved.