jsonlint
jsonlint copied to clipboard
Parse error on {"city": "\xDCr\xFCmqi"}
RT
A parser error is reported correctly for your input. The letter "x" must not occur after the escaping character (backslash) according to the JSON specification. Only the following characters are allowed to be escaped:
escape (
%x22 / ; " quotation mark U+0022
%x5C / ; \ reverse solidus U+005C
%x2F / ; / solidus U+002F
%x62 / ; b backspace U+0008
%x66 / ; f form feed U+000C
%x6E / ; n line feed U+000A
%x72 / ; r carriage return U+000D
%x74 / ; t tab U+0009
%x75 4HEXDIG ) ; uXXXX U+XXXX
If you want to put a character to a string using its hexadecimal ASCII code, use the "\uXXXX" form. For example, instead of "\xDC" you can to write "\u00DC".