11static void printIt(
const Value &doc) {
12 char writeBuffer[65536];
21 return (strcmp(lhs.
name.GetString(), rhs.
name.GetString()) < 0);
29 d.AddMember(
"zeta",
Value().SetBool(
false), allocator);
30 d.AddMember(
"gama",
Value().SetString(
"test string", allocator), allocator);
31 d.AddMember(
"delta",
Value().SetInt(123), allocator);
48#if __cplusplus >= 201103L || !defined(__GLIBCXX__)
Wrapper of C file stream for output using fwrite().
Default memory allocator used by the parser and DOM.
Writer with indentation and spacing.
GenericValue< UTF8<> > Value
GenericValue with UTF8 encoding.
Name-value pair in a JSON object value.
GenericValue< Encoding, Allocator > name
name of member (must be a string)
bool operator()(const Value::Member &lhs, const Value::Member &rhs) const