code: public static String toJSONString(Object value, JSONStyle compression) {
  		StringBuilder sb = new StringBuilder();
  		try {
  			writeJSONString(value, sb, compression);
  		} catch (IOException e) {
  			// can not append on a StringBuilder
  		}
  		return sb.toString();
  	}
docs: Convert an object to JSON text.
  <p>
  If this object is a Map or a List, and it's also a JSONAware, JSONAware
  will be considered firstly.
  <p>
  DO NOT call this method from toJSONString() of a class that implements
  both JSONAware and Map or List with "this" as the parameter, use
  JSONObject.toJSONString(Map) or JSONArray.toJSONString(List) instead.
  
  @see JSONObject#toJSONString(Map)
  @see JSONArray#toJSONString(List)
  
  @return JSON text, or "null" if value is null or it's an NaN or an INF
  number.