QuestionQ8

VerifiedFile Processing and Communicating with a Program’s Environment

If you want to include a UNICODE code point in a JSON string, which prefix do you use?

Explanation

JSON Unicode escapes use the \u prefix followed by four hexadecimal digits. Characters outside the Basic Multilingual Plane are represented with two such escapes forming a UTF-16 surrogate pair.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!