Fully implemented the JSON spec

This commit is contained in:
Raphael Isemann committed 2015-01-10 16:49:10 +01:00
1 parent 222aacc213
commit 5a54e46709
3 files changed
+232 -62

No files matched your search

+4 -2
View File
@@ -419,8 +419,10 @@ class json
/// parse a quoted string
inline std::string parseString();
/// transforms a unicode codepoint to it's UTF-8 presentation
inline std::string unicodeToUTF8(unsigned int codepoint);
/// parses a unicode escape sequence
inline std::string codepointToUTF8(unsigned int codepoint);
/// parses 4 hex characters that represent a unicode codepoint
inline unsigned int parse4HexCodepoint();
/// parses \uXXXX[\uXXXX] unicode escape characters
inline std::string parseUnicodeEscape();
/// parse a Boolean "true"
inline void parseTrue();