-
com.addthis.maljson.JSONObject.optString()
Returns the value mapped by {@code name} if it exists, coercing it ifnecessary, or the empty string if no such mapping exists.
-
com.amazonaws.util.json.JSONObject.optString()
Get an optional string associated with a key. It returns an empty string if there is no such key. If the value is not a string and is not null, then it is coverted to a string.
@param key A key string.
@return A string which is the value.
-
com.dotcms.repackage.org.json.JSONObject.optString()
-
com.google.appengine.repackaged.org.json.JSONObject.optString()
-
net.sf.json.JSONObject.optString()
-
org.amplafi.json.JSONObject.optString()
Get an optional string associated with a key. It returns an empty string if there is no such key. If the value is not a string and is not null, then it is coverted to a string.
@param key A key string.
@return A string which is the value.
-
org.apache.sling.commons.json.JSONObject.optString()
Get an optional string associated with a key. It returns an empty string if there is no such key. If the value is not a string and is not null, then it is coverted to a string.
@param key A key string.
@return A string which is the value.
-
org.apache.wink.json4j.JSONArray.optString()
Method to obtain the value at index as a String, or null if outside the array.
@param index the array index to get
@return - value or null
-
org.apache.wink.json4j.JSONObject.optString()
Utility method to obtain the specified key as a 'string' value Only values that can be easily converted to string will be returned. A null will generate an exception. Provided for compatibility to other JSON models.
@param key The key to look up.throws JSONException Thrown when the type returned by get(key) is null.
@return A string value if the value if the value stored for key is not null.
-
org.codehaus.jettison.json.JSONArray.optString()
Get the optional string value associated with an index. It returns an empty string if there is no value at that index. If the value is not a string and is not null, then it is coverted to a string.
@param index The index must be between 0 and length() - 1.
@return A String value.
-
org.codehaus.jettison.json.JSONObject.optString()
Get an optional string associated with a key. It returns an empty string if there is no such key. If the value is not a string and is not null, then it is coverted to a string.
@param key A key string.
@return A string which is the value.
-
org.hornetq.utils.json.JSONObject.optString()
Get an optional string associated with a key. It returns an empty string if there is no such key. If the value is not a string and is not null, then it is converted to a string.
@param key A key string.
@return A string which is the value.
-
org.json.JSONArray.optString()
Get the optional string value associated with an index. It returns an empty string if there is no value at that index. If the value is not a string and is not null, then it is coverted to a string.
@param index The index must be between 0 and length() - 1.
@return A String value.
-
org.json.JSONObject.optString()
Get an optional string associated with a key. It returns an empty string if there is no such key. If the value is not a string and is not null, then it is converted to a string.
@param key A key string.
@return A string which is the value.
-
org.json_voltpatches.JSONObject.optString()
Get an optional string associated with a key. It returns an empty string if there is no such key. If the value is not a string and is not null, then it is coverted to a string.
@param key A key string.
@return A string which is the value.
-
org.mapfish.print.wrapper.json.PJsonObject.optString()
Get a property as a string or null.
@param key the property name
-
org.richfaces.json.JSONObject.optString()
Get an optional string associated with a key. It returns an empty string if there is no such key. If the value is not a string and is not null, then it is coverted to a string.
@param key A key string.
@return A string which is the value.
-
org.slim3.repackaged.org.json.JSONObject.optString()
Get an optional string associated with a key. It returns an empty string if there is no such key. If the value is not a string and is not null, then it is converted to a string.
@param key A key string.
@return A string which is the value.