code: public static String valueToString(Object value) {
  		if (value == null) {
  			return "null";
  		} else if (!value.getClass().isArray()) {
  			return value.toString();
  		}
  
  		StringBuilder sb = new StringBuilder();
  		valueToString(sb, value);
  		return sb.toString();
  	}
docs: Return the string version of value.