Python_Institute
PCPP-32-101 · Question #59
If you want to include a UNICODE code point into a JSON string, which prefix will you use?
The correct answer is C. \u. The \u prefix is used to include a Unicode code point in a JSON string using a Unicode escape
Working with Files
Question
If you want to include a UNICODE code point into a JSON string, which prefix will you use?
Options
- Ax'
- Bu"
- C\u
- D\x
How the community answered
(25 responses)- A8% (2)
- B4% (1)
- C88% (22)
Explanation
The \u prefix is used to include a Unicode code point in a JSON string using a Unicode escape
Topics
#JSON#Unicode#escape sequences#string encoding
Community Discussion
No community discussion yet for this question.