Home
last modified time | relevance | path

Searched refs:as_json (Results 1 – 2 of 2) sorted by relevance

/third_party/json/test/src/
Dunit-user_defined_input.cpp44 json as_json = json::parse(data.begin(), data.end()); variable
45 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); variable
71 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 …]
/third_party/gn/src/gn/
Dcommand_format_unittest.cc44 std::string as_json; \
47 out_again, commands::TreeDumpMode::kJSON, &unused, &as_json)); \
49 EXPECT_TRUE(commands::FormatJsonToString(as_json, &rewritten)); \