- object() - Method in class org.json.JSONWriter
-
Begin appending a new object.
- objectStack - Variable in class org.json.stream.JSONStreamReader
-
- opt(int) - Method in class org.json.JSONArray
-
Get the optional object value associated with an index.
- opt(String) - Method in class org.json.JSONObject
-
Get an optional value associated with a key.
- optBigDecimal(int, BigDecimal) - Method in class org.json.JSONArray
-
Get the optional BigDecimal value associated with an index.
- optBigDecimal(String, BigDecimal) - Method in class org.json.JSONObject
-
Get an optional BigDecimal associated with a key, or the defaultValue if
there is no such key or if its value is not a number.
- optBigInteger(int, BigInteger) - Method in class org.json.JSONArray
-
Get the optional BigInteger value associated with an index.
- optBigInteger(String, BigInteger) - Method in class org.json.JSONObject
-
Get an optional BigInteger associated with a key, or the defaultValue if
there is no such key or if its value is not a number.
- optBoolean(int) - Method in class org.json.JSONArray
-
Get the optional boolean value associated with an index.
- optBoolean(int, boolean) - Method in class org.json.JSONArray
-
Get the optional boolean value associated with an index.
- optBoolean(String) - Method in class org.json.JSONObject
-
Get an optional boolean associated with a key.
- optBoolean(String, boolean) - Method in class org.json.JSONObject
-
Get an optional boolean associated with a key.
- optDouble(int) - Method in class org.json.JSONArray
-
Get the optional double value associated with an index.
- optDouble(int, double) - Method in class org.json.JSONArray
-
Get the optional double value associated with an index.
- optDouble(String) - Method in class org.json.JSONObject
-
Get an optional double associated with a key, or NaN if there is no such
key or if its value is not a number.
- optDouble(String, double) - Method in class org.json.JSONObject
-
Get an optional double associated with a key, or the defaultValue if
there is no such key or if its value is not a number.
- optEnum(Class<E>, int) - Method in class org.json.JSONArray
-
Get the enum value associated with a key.
- optEnum(Class<E>, int, E) - Method in class org.json.JSONArray
-
Get the enum value associated with a key.
- optEnum(Class<E>, String) - Method in class org.json.JSONObject
-
Get the enum value associated with a key.
- optEnum(Class<E>, String, E) - Method in class org.json.JSONObject
-
Get the enum value associated with a key.
- optInt(int) - Method in class org.json.JSONArray
-
Get the optional int value associated with an index.
- optInt(int, int) - Method in class org.json.JSONArray
-
Get the optional int value associated with an index.
- optInt(String) - Method in class org.json.JSONObject
-
Get an optional int value associated with a key, or zero if there is no
such key or if the value is not a number.
- optInt(String, int) - Method in class org.json.JSONObject
-
Get an optional int value associated with a key, or the default if there
is no such key or if the value is not a number.
- optJSONArray(int) - Method in class org.json.JSONArray
-
Get the optional JSONArray associated with an index.
- optJSONArray(String) - Method in class org.json.JSONObject
-
Get an optional JSONArray associated with a key.
- optJSONObject(int) - Method in class org.json.JSONArray
-
Get the optional JSONObject associated with an index.
- optJSONObject(String) - Method in class org.json.JSONObject
-
Get an optional JSONObject associated with a key.
- optLong(int) - Method in class org.json.JSONArray
-
Get the optional long value associated with an index.
- optLong(int, long) - Method in class org.json.JSONArray
-
Get the optional long value associated with an index.
- optLong(String) - Method in class org.json.JSONObject
-
Get an optional long value associated with a key, or zero if there is no
such key or if the value is not a number.
- optLong(String, long) - Method in class org.json.JSONObject
-
Get an optional long value associated with a key, or the default if there
is no such key or if the value is not a number.
- optQuery(String) - Method in class org.json.JSONArray
-
Queries and returns a value from this object using jsonPointer
, or
returns null if the query fails due to a missing key.
- optQuery(String) - Method in class org.json.JSONObject
-
Queries and returns a value from this object using jsonPointer
, or
returns null if the query fails due to a missing key.
- optString(int) - Method in class org.json.JSONArray
-
Get the optional string value associated with an index.
- optString(int, String) - Method in class org.json.JSONArray
-
Get the optional string associated with an index.
- optString(String) - Method in class org.json.JSONObject
-
Get an optional string associated with a key.
- optString(String, String) - Method in class org.json.JSONObject
-
Get an optional string associated with a key.
- org.json - package org.json
-
The files in this package implement object-based JSON encoders/decoders in Java.
- org.json.stream - package org.json.stream
-
A streaming parser implementation and related tools for JSON.
- org.json.util - package org.json.util
-
Utility classes used by org.json
and org.json.stream
packages.
- org.json.write - package org.json.write
-
An internal package used by org.json.JSONWriter
for writing
JSON values.