private static char getEscapingSymbol(char ch) {
    return switch (ch) {
      case '\n' -> 'n';
      case '\r' -> 'r';
      case '\t' -> 't';
      case '\b' -> 'b';
      case '\f' -> 'f';
      default -> ch;
    };
  }
private static char getEscapingSymbol(char ch)