public JSONObject put(String key, Collection<?> value) throws JSONException {
		this.put(key, new JSONArray(value));
		return this;
	}
public JSONObject put ( String key , Collection < ? > value ) throws JSONException { this . put ( key , new JSONArray ( value ) ) ; return this ; }
Put a key/value pair in the JSONObject, where the value will be a
JSONArray which is produced from a Collection.

@param key A key string.
@param value A Collection value.
@return this.
@throws JSONException If the value is invalid