private static int computeUnescapeStandard(String input, int cursor, StringBuilder builder) {
		// Bounds check
		if (cursor >= input.length()) {
			return 0;
		}

		// Check if next character finishes an unescaped value, 1 if so, 0 if not.
		char current = input.charAt(cursor);
		switch (current) {
			case '\n':
				builder.append("\\n");
				return 1;
			case '\r':
				builder.append("\\r");
				return 1;
			case '\t':
				builder.append("\\t");
				return 1;
			case '\\':
				builder.append("\\\\");
				return 1;
			case '"':
				builder.append("\\\"");
				return 1;
			default:
				return 0;
		}
	}
Replaces standard escape codes with literal values.
<br>
For example: {@code \n}, {@code \r}, {@code \t}, {@code \}, and {@code "}

@param input
		Input text.

@return String with escaped characters.
recaf-core/src/main/java/software/coley/recaf/util/EscapeUtil.java