[][src]Function escape8259::unescape

pub fn unescape(s: &str) -> Result<String, UnescapeError>

Un-escape a string, following RFC8259 rules.

The only allowed single-character escapes are: \" \\ \/ /b /f /n /r /t

Any other characte may be escaped in UTF-16 form: \uXXXX or \uXXXX\uXXXX

Characters in the ranges 0x20-21, 0x23-5B, 0x5D-10FFFF may appear un-escaped.