docs: public String convertToJavaString(String input, boolean useUnicode) {
  		int length = input.length();
  		StringBuilder result = new StringBuilder(length + 4);
  		for (int i = 0; i < length; i++) {
  			escapeAndAppendTo(input.charAt(i), useUnicode, result);
  		}
  		return result.toString();
  	}