Definition at line 100 of file JsonParser.cpp.
◆ String()
json::String::String |
( |
std::istream & |
stream | ) |
|
|
inline |
Definition at line 103 of file JsonParser.cpp.
103 : Value(Node::Type::string)
104 {
105 matchCharacter(stream, '"');
106 auto ch = stream.get();
107
108 while (ch != '"') {
109 if (ch == '\\') {
110 throw std::logic_error("JSON parser: string escaping not implemented");
111 }
112 value.push_back(static_cast<char>(ch));
113 ch = stream.get();
114 }
115 }
◆ value
std::string json::String::value |
The documentation for this struct was generated from the following file: