code: public boolean getBoolean(int index) throws JSONException {
  		Object object = get(index);
  		Boolean result = JSON.toBoolean(object);
  		if (result == null) {
  			throw JSON.typeMismatch(index, object, "boolean");
  		}
  		return result;
  	}
docs: Returns the value at {@code index} if it exists and is a boolean or can be coerced
  to a boolean.
  @param index the index to get the value from
  @return the value at {@code index}
  @throws JSONException if the value at {@code index} doesn't exist or cannot be
  coerced to a boolean.