Lines Matching refs:as_json
44 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);
112 json as_json = json::parse(begin, end); variable
113 CHECK(as_json.at(0) == 1);
114 CHECK(as_json.at(1) == 2);
115 CHECK(as_json.at(2) == 3);
116 CHECK(as_json.at(3) == 4);