15int main(
int argc,
char *argv[]) {
17 if (val.
read(
string(istreambuf_iterator<char>(cin),
18 istreambuf_iterator<char>()))) {
19 cout << val.
write(1 , 4 ) << endl;
22 cerr <<
"JSON Parse Error." << endl;
std::string write(unsigned int prettyIndent=0, unsigned int indentLevel=0) const
bool read(std::string_view raw)
Implement std::hash so RCUPtr can be used as a key for maps or sets.
int main(int argc, char *argv[])