value
to the array already mapped to name
.name
.index
.name
, or throws if no such mapping exists.index
if it exists and is a boolean or can
be coerced to a boolean.name
if it exists and is a boolean or
can be coerced to a boolean, or throws otherwise.index
if it exists and is a double or can
be coerced to a double.name
if it exists and is a double or
can be coerced to a double, or throws otherwise.index
if it exists and is an int or
can be coerced to an int.name
if it exists and is an int or
can be coerced to an int, or throws otherwise.index
if it exists and is a JSONArray
.name
if it exists and is a JSONArray
, or throws otherwise.index
if it exists and is a JSONObject
.name
if it exists and is a JSONObject
, or throws otherwise.index
if it exists and is a long or
can be coerced to a long.name
if it exists and is a long or
can be coerced to a long, or throws otherwise.index
if it exists, coercing it if
necessary.name
if it exists, coercing it if
necessary, or throws if no such mapping exists.name
.index
, or if its value
is the null
reference or JSONObject.NULL
.name
or if it has
a mapping whose value is JSONObject.NULL
.separator
.JSONArray
with no values.JSONArray
by copying all values from the given
collection.JSONArray
with values from the next array in the
tokener.JSONArray
with values from the JSON string.JSONArray
with values from the given primitive array.JSONObject
with no name/value mappings.JSONObject
by copying all name/value mappings from
the given map.JSONObject
with name/value mappings from the next
object in the tokener.JSONObject
with name/value mappings from the JSON
string.JSONObject
by copying mappings for the listed names
from the given object.JSONObject.toString()
and JSONArray.toString()
.String
names in this object.String
names in this object.c
.length
characters of the input.quote
, unescaping any
character escape sequences encountered along the way.trimmed
string holding the characters up
to but not including the first of:
any character in excluded
a newline character '\n'
a carriage return '\r'
nextTo(String.valueOf(excluded))
.index
, or null if the array has no value
at index
.name
, or null if no such mapping
exists.index
if it exists and is a boolean or can
be coerced to a boolean.index
if it exists and is a boolean or can
be coerced to a boolean.name
if it exists and is a boolean or
can be coerced to a boolean, or false otherwise.name
if it exists and is a boolean or
can be coerced to a boolean, or fallback
otherwise.index
if it exists and is a double or can
be coerced to a double.index
if it exists and is a double or can
be coerced to a double.name
if it exists and is a double or
can be coerced to a double, or NaN
otherwise.name
if it exists and is a double or
can be coerced to a double, or fallback
otherwise.index
if it exists and is an int or
can be coerced to an int.index
if it exists and is an int or
can be coerced to an int.name
if it exists and is an int or
can be coerced to an int, or 0 otherwise.name
if it exists and is an int or
can be coerced to an int, or fallback
otherwise.index
if it exists and is a JSONArray
.name
if it exists and is a JSONArray
, or null otherwise.index
if it exists and is a JSONObject
.name
if it exists and is a JSONObject
, or null otherwise.index
if it exists and is a long or
can be coerced to a long.index
if it exists and is a long or
can be coerced to a long.name
if it exists and is a long or
can be coerced to a long, or 0 otherwise.name
if it exists and is a long or
can be coerced to a long, or fallback
otherwise.index
if it exists, coercing it if
necessary.index
if it exists, coercing it if
necessary.name
if it exists, coercing it if
necessary, or the empty string if no such mapping exists.name
if it exists, coercing it if
necessary, or fallback
if no such mapping exists.value
to the end of this array.value
to the end of this array.value
to the end of this array.value
to the end of this array.value
to the end of this array.index
to value
, null padding this array
to the required length if necessary.index
to value
, null padding this array
to the required length if necessary.index
to value
, null padding this array
to the required length if necessary.index
to value
, null padding this array
to the required length if necessary.index
to value
, null padding this array
to the required length if necessary.name
to value
, clobbering any existing name/value
mapping with the same name.name
to value
, clobbering any existing name/value
mapping with the same name.name
to value
, clobbering any existing name/value
mapping with the same name.name
to value
, clobbering any existing name/value
mapping with the same name.name
to value
, clobbering any existing name/value
mapping with the same name.put(name, value)
when both parameters are non-null;
does nothing otherwise.data
as a JSON string.index
, or null if the array has no value
at index
.thru
.to
.names
.names
.value
.value
to this stringer.value
to this stringer.value
to this stringer.Copyright © 2019 The Android Open Source Project. All rights reserved.