code: public JSONStringer value(boolean value) throws JSONException {
  		if (this.stack.isEmpty()) {
  			throw new JSONException("Nesting problem");
  		}
  		beforeValue();
  		this.out.append(value);
  		return this;
  	}
docs: Encodes {@code value} to this stringer.
  @param value the value to encode
  @return this stringer.
  @throws JSONException if processing of json failed