Lines Matching refs:to_json
28 void to_json(json& /*unused*/, pod /*unused*/) noexcept;
29 void to_json(json& /*unused*/, pod_bis /*unused*/);
32 void to_json(json& /*unused*/, pod /*unused*/) noexcept {}
33 void to_json(json& /*unused*/, pod_bis /*unused*/) {}
40 static_assert(noexcept(nlohmann::to_json(*j, 2)), "");
41 static_assert(noexcept(nlohmann::to_json(*j, 2.5)), "");
42 static_assert(noexcept(nlohmann::to_json(*j, true)), "");
43 static_assert(noexcept(nlohmann::to_json(*j, test{})), "");
44 static_assert(noexcept(nlohmann::to_json(*j, pod{})), "");
45 static_assert(!noexcept(nlohmann::to_json(*j, pod_bis{})), "");
75 to_json(j2, pod());
76 to_json(j2, pod_bis());