#include "rapidjson/document.h"
#include "rapidjson/filewritestream.h"
#include <rapidjson/prettywriter.h>
#include <algorithm>
#include <iostream>
Go to the source code of this file.
◆ main()
Definition at line 25 of file sortkeys.cpp.
25 {
28
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);
33
34 printIt(d);
35
36
37
38
39
40
41
42
43
44
45
46
47
48#if __cplusplus >= 201103L || !defined(__GLIBCXX__)
50#endif
51
52 printIt(d);
53
54
55
56
57
58
59
60
61
62}
Default memory allocator used by the parser and DOM.
GenericValue< UTF8<> > Value
GenericValue with UTF8 encoding.
bip::allocator< T, pinnable_mapped_file::segment_manager > allocator