Go to the documentation of this file.
84 const std::string& indentChars =
" ",
85 bool jsStyleKeys =
false);
88 void writeKey(
const std::string& key);
93 bool isId(
const std::string&
str);
96 static std::string
Escape(
const std::string&
str);
101 return c > 0 &&
c <= 0x1F;
105 std::stringstream ss;
106 std::stack<StackType> stack;
109 std::string indentChars;
116 void endArrayOrObject();
void writeRawValue(const std::string &value)
void writeKey(const std::string &key)
std::shared_ptr< JsonWriter > JsonWriterPtr
static bool IsControlChar(char c)
bool isId(const std::string &str)
std::shared_ptr< Value > value()
static std::string Escape(const std::string &str)
static std::string EscapeQuote(const std::string &str)
JsonWriter(int indenting=0, const std::string &indentChars=" ", bool jsStyleKeys=false)
This file offers overloads of toIce() and fromIce() functions for STL container types.