code: public JSONObject put(String key, int value) throws JSONException {
          put(key, Integer.valueOf(value));
          return this;
      }
docs: Put a key/int pair in the JSONObject.
  
  @param key   A key string.
  @param value An int which is the value.
  @return this
  @throws JSONException If the key is null.