#include "rapidjson/reader.h"
#include <iostream>
Go to the source code of this file.
◆ main()
Definition at line 33 of file simplereader.cpp.
33 {
34 const char json[] = " { \"hello\" : \"world\", \"t\" : true , \"f\" : false, \"n\": null, \"i\":123, \"pi\": 3.1416, \"a\":[1, 2, 3, 4] } ";
35
39 reader.
Parse(ss, handler);
40
41 return 0;
42}
ParseResult Parse(InputStream &is, Handler &handler)
Parse JSON text.
static const Segment ss(Segment::ss)