Lines Matching refs:Json
53 Json::Value root; // 'root' will contain the root value after parsing.
65 const Json::Value plugins = root["plug-ins"];
75 // Since Json::Value has an implicit constructor for all value types, it is not
76 // necessary to explicitly construct the Json::Value object.
92 configuration, we use our own `Json::Value` (rather than
98 Json::StreamWriterBuilder wbuilder;
100 std::string document = Json::writeString(wbuilder, root);
104 Json::CharReaderBuilder rbuilder;
107 bool ok = Json::parseFromStream(rbuilder, std::cin, &root, &errs);
111 but `Json::Value` lets you
117 Json::CharReaderBuilder rbuilder;
119 std::unique_ptr<Json::CharReader> const reader(rbuilder.newCharReader());