code: public static void writeJSONString(Iterable<? extends Object> list, Appendable out, JSONStyle compression)
  			throws IOException {
  		if (list == null) {
  			out.append("null");
  			return;
  		}
  		JsonWriter.JSONIterableWriter.writeJSONString(list, out, compression);
  	}
docs: Encode a list into JSON text and write it to out. If this list is also a
  JSONStreamAware or a JSONAware, JSONStreamAware and JSONAware specific
  behaviours will be ignored at this top level.
  
  @see JSONValue#writeJSONString(Object, Appendable)
  
  @param list
  @param out