Lines Matching refs:document
17 #include "rapidjson/document.h"
70 GenericDocument<UTF8<>, CrtAllocator> document; // Use Crt allocator to check exception-safety (no memory leak)
71 document.Parse((const char*)json);
72 EXPECT_TRUE(document.HasParseError());
74 document.Parse<kParseIterativeFlag>((const char*)json);
75 EXPECT_TRUE(document.HasParseError());
90 GenericDocument<UTF8<>, CrtAllocator> document; // Use Crt allocator to check exception-safety (no memory leak)
91 document.Parse((const char*)json);
92 EXPECT_FALSE(document.HasParseError());
94 document.Parse<kParseIterativeFlag>((const char*)json);
95 EXPECT_FALSE(document.HasParseError());