Put or replace a boolean value in the JSONArray. If the index is greater than the length of the JSONArray, then null elements will be added as necessary to pad it out. @webref jsonarray:method @brief Put a boolean value in the JSONArray @param index an index value @param value the value to assign @
(int index, boolean value)
| 955 | * @see JSONArray#setString(int, String) |
| 956 | */ |
| 957 | public JSONArray setBoolean(int index, boolean value) { |
| 958 | return set(index, value ? Boolean.TRUE : Boolean.FALSE); |
| 959 | } |
| 960 | |
| 961 | |
| 962 | // /** |