Closed wch closed 10 years ago
I don't think so. The \v
is not listed on www.json.org or RFC 7159 and ["foo\vbar"]
does not pass validation on www.jsonlint.org, or in jsonlite::validate
. I think escaped \v
is supported in JavaScript but not JSON.
Oh, good point. I was looking at Javascript, not JSON.
See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Values,_variables,_and_literals?redirectlocale=en-US&redirectslug=JavaScript/Guide/Values,_variables,_and_literals#Using_special_characters_in_strings