JSON Types and Values/Unicode escape sequence

Represent a character with a Unicode escape.

Section: String gotchas

Unicode escape sequence

json
json
{
  "currency": "\u20AC"
}
Explanation

`€` represents the euro symbol.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing String gotchas
Escape quotes inside strings
Use backslash to include literal double quotes.
OpenIn sheetjsonsame section
Use escape sequences for control characters
Encode newlines and tabs inside strings.
OpenIn sheetjsonsame section
String value
A sequence of Unicode characters inside double quotes.
OpenIn sheetjson2 tag match
Avoid leading zeros
Leading zeros are invalid except for zero itself.
OpenIn sheetjson1 tag match
Number value
JSON supports integers and decimals.
OpenIn sheetjson1 tag match
Scientific notation
JSON supports exponent notation.
OpenIn sheetjson1 tag match