fun escape(s: String?): String? { if (s == null) return null val sb = StringBuffer() escape(s, sb) return sb.toString() }
Escape quotes , \ , / , \r , \n , \b , \f , \t and other control characters ( U+0000 through U+001F ) .