mirror of
https://github.com/nlohmann/json.git
synced 2026-05-06 22:35:24 +00:00
Merge pull request #22 from Teemperor/unicode_escaping
Unicode escaping
This commit is contained in:
@@ -421,6 +421,12 @@ class json
|
||||
inline void error(const std::string&) __attribute__((noreturn));
|
||||
/// parse a quoted string
|
||||
inline std::string parseString();
|
||||
/// transforms a unicode codepoint to it's UTF-8 presentation
|
||||
std::string codePointToUTF8(unsigned int codePoint);
|
||||
/// parses 4 hex characters that represent a unicode code point
|
||||
inline unsigned int parse4HexCodePoint();
|
||||
/// parses \uXXXX[\uXXXX] unicode escape characters
|
||||
inline std::string parseUnicodeEscape();
|
||||
/// parse a Boolean "true"
|
||||
inline void parseTrue();
|
||||
/// parse a Boolean "false"
|
||||
|
||||
Reference in New Issue
Block a user