code: public static String toJSONString(List<? extends Object> list, JSONStyle compression) {
  		StringBuilder sb = new StringBuilder();
  		try {
  			writeJSONString(list, sb, compression);
  		} catch (IOException e) {
  			// Can not append on a string builder
  		}
  		return sb.toString();
  	}
docs: Convert a list to JSON text. The result is a JSON array. If this list is
  also a JSONAware, JSONAware specific behaviours will be omitted at this
  top level.
  
  @see net.minidev.json.JSONValue#toJSONString(Object)
  
  @param list
  @param compression
  Indicate compression level
  @return JSON text, or "null" if list is null.