|
JSON definitely does. backslash is the escape character.
YAML seems to be
Looks like single quoted strings no, double quoted strings yes.
http://yaml.org/spec/history/2001-08-01.html "YAML's quoted strings are similar to C's. In YAML, text scalars can be surrounded by quotes enabling escape sequences such as \n to represent a new line, \t to represent a tab, and to represent the backslash. Unlike C, since line break is folded into a space, a trailing \ is used as a continuation marker, allowing content to be broken into multiple lines without introducing unwanted whitespace. Further, YAML treats an empty line (two consecutive line breaks) as being equivalent to \n. Lastly, 8-bit (ISO 8859-1) characters can be specified using "\x3B" style escapes, 16-bit (Unicode) characters can be specified using "\u003B" style escapes, and 32-bit (ISO/IEC 10646) characters can be specified using "\U0000003B" style escapes."
|