Searched refs:as_json (Results 1 – 2 of 2) sorted by relevance
44 json as_json = json::parse(data.begin(), data.end()); variable45 CHECK(as_json.at(0) == 1);46 CHECK(as_json.at(1) == 2);47 CHECK(as_json.at(2) == 3);48 CHECK(as_json.at(3) == 4);70 json as_json = json::parse(data); variable71 CHECK(as_json.at(0) == 1);72 CHECK(as_json.at(1) == 2);73 CHECK(as_json.at(2) == 3);74 CHECK(as_json.at(3) == 4);[all …]
44 std::string as_json; \47 out_again, commands::TreeDumpMode::kJSON, &unused, &as_json)); \49 EXPECT_TRUE(commands::FormatJsonToString(as_json, &rewritten)); \