#include "rapidjson/reader.h"
#include <iostream>
#include <sstream>
Go to the source code of this file.
◆ main()
Definition at line 40 of file simplepullreader.cpp.
41 const char json[] =
" { \"hello\" : \"world\", \"t\" : true , \"f\" : false, \"n\": null, \"i\":123, \"pi\": 3.1416, \"a\":[1, 2, 3, 4] } ";
49 cout << handler.
type << handler.
data << endl;
Default parse flags. Can be customized by defining RAPIDJSON_PARSE_DEFAULT_FLAGS. ...
bool IterativeParseNext(InputStream &is, Handler &handler)
Parse one token from JSON text.
void IterativeParseInit()
Initialize JSON text token-by-token parsing.
RAPIDJSON_FORCEINLINE bool IterativeParseComplete() const
Check if token-by-token parsing JSON text is complete.
◆ stringify()
template<typename T >
| std::string stringify |
( |
T |
x | ) |
|