public JSONObject put(String key,boolean value) throws JSONException {
  put(key,value ? Boolean.TRUE : Boolean.FALSE);
  return this;
}

public JSONObject put ( String key , boolean value ) throws JSONException { put ( key , value ? Boolean . TRUE : Boolean . FALSE ) ; return this ; }
put a key / boolean pair in the jsonobject .
