mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-07 19:14:15 +08:00
grr, forgot to save changes on last commit
This commit is contained in:
@@ -1075,8 +1075,8 @@ public class JSONObject {
|
||||
* if there is no value for the index, or if the value is not a number and
|
||||
* cannot be converted to a number.
|
||||
*
|
||||
* @param index
|
||||
* The index must be between 0 and length() - 1.
|
||||
* @param key
|
||||
* A key string.
|
||||
* @return The value.
|
||||
*/
|
||||
public float optFloat(String key) {
|
||||
@@ -1088,8 +1088,8 @@ public class JSONObject {
|
||||
* is returned if there is no value for the index, or if the value is not a
|
||||
* number and cannot be converted to a number.
|
||||
*
|
||||
* @param index
|
||||
* subscript
|
||||
* @param key
|
||||
* A key string.
|
||||
* @param defaultValue
|
||||
* The default value.
|
||||
* @return The value.
|
||||
|
Reference in New Issue
Block a user