Home | History | Annotate | Download | only in json

Lines Matching refs:string

13 #include <string>
32 virtual std::string write(const Value& root) = 0;
50 /** \brief Drop the "null" string from the writer's output for nullValues.
60 virtual std::string write(const Value& root);
65 std::string document_;
102 * \return String containing the JSON document that represents the root value.
104 virtual std::string write(const Value& root);
110 void pushValue(const std::string& value);
112 void writeWithIndent(const std::string& value);
118 static std::string normalizeEOL(const std::string& text);
120 typedef std::vector<std::string> ChildValues;
123 std::string document_;
124 std::string indentString_;
132 to a stream rather than to a string.
157 StyledStreamWriter(std::string indentation = "\t");
173 void pushValue(const std::string& value);
175 void writeWithIndent(const std::string& value);
181 static std::string normalizeEOL(const std::string& text);
183 typedef std::vector<std::string> ChildValues;
187 std::string indentString_;
189 std::string indentation_;
194 std::string JSON_API valueToString(Int value);
195 std::string JSON_API valueToString(UInt value);
197 std::string JSON_API valueToString(LargestInt value);
198 std::string JSON_API valueToString(LargestUInt value);
199 std::string JSON_API valueToString(double value);
200 std::string JSON_API valueToString(bool value);
201 std::string JSON_API valueToQuotedString(const char* value);