Package | Description |
---|---|
com.atlassian.jira.health.web | |
com.atlassian.jira.onboarding.postsetup.ui | |
com.atlassian.jira.sharing | |
com.atlassian.jira.util.json |
Modifier and Type | Method and Description |
---|---|
JSONArray |
JohnsonEventCollectionSerializer.toJSON(Iterable<com.atlassian.johnson.event.Event> events)
Takes an iterable of Johnson
Event s and serializes them vai JohnsonEventSerializerFactory
The resulting JSONArray consists of Event serialized by one of the following serializers:
- InteractiveJohnsonEventSerializer as of CPU-59
- LegacyJohnsonEventSerializer for pre CPU-59 Johnson Events |
Modifier and Type | Method and Description |
---|---|
JSONArray |
PostSetupAnnouncementDataProvider.getAnnouncementsData() |
Modifier and Type | Method and Description |
---|---|
static JSONArray |
SharePermissionUtils.toJsonArray(Collection<SharePermission> permissions)
Converts the passed SharePermissions into a JSON array.
|
Modifier and Type | Method and Description |
---|---|
static SharedEntity.SharePermissions |
SharePermissionUtils.fromJsonArray(JSONArray array)
Convert the passed array into SharePermissions.
|
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<Object> 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<? extends Object> 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<String,Object> value)
Put a value in the JSONArray, where the value will be a
JSONObject which 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<String,Object> 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.
|
Copyright © 2002-2019 Atlassian. All Rights Reserved.