Lines Matching refs:json
33 using json = nlohmann::json; typedef
46 hashes.insert(std::hash<json> {}(json(nullptr)));
49 hashes.insert(std::hash<json> {}(json(true)));
50 hashes.insert(std::hash<json> {}(json(false)));
53 hashes.insert(std::hash<json> {}(json("")));
54 hashes.insert(std::hash<json> {}(json("foo")));
57 hashes.insert(std::hash<json> {}(json(0)));
58 hashes.insert(std::hash<json> {}(json(unsigned(0))));
60 hashes.insert(std::hash<json> {}(json(-1)));
61 hashes.insert(std::hash<json> {}(json(0.0)));
62 hashes.insert(std::hash<json> {}(json(42.23)));
65 hashes.insert(std::hash<json> {}(json::array()));
66 hashes.insert(std::hash<json> {}(json::array({1, 2, 3})));
69 hashes.insert(std::hash<json> {}(json::object()));
70 hashes.insert(std::hash<json> {}(json::object({{"foo", "bar"}})));
73 hashes.insert(std::hash<json> {}(json::binary({})));
74 hashes.insert(std::hash<json> {}(json::binary({}, 0)));
75 hashes.insert(std::hash<json> {}(json::binary({}, 42)));
76 hashes.insert(std::hash<json> {}(json::binary({1, 2, 3})));
77 hashes.insert(std::hash<json> {}(json::binary({1, 2, 3}, 0)));
78 hashes.insert(std::hash<json> {}(json::binary({1, 2, 3}, 42)));
81 hashes.insert(std::hash<json> {}(json(json::value_t::discarded)));