Lines Matching refs:to_json
79 // to_json methods
84 static void to_json(BasicJsonType& j, age a)
90 static void to_json(BasicJsonType& j, const name& n)
96 static void to_json(BasicJsonType& j, country c)
115 static void to_json(BasicJsonType& j, const person& p)
120 static void to_json(nlohmann::json& j, const address& a)
125 static void to_json(nlohmann::json& j, const contact& c)
130 static void to_json(nlohmann::json& j, const contact_book& cb)
344 static void to_json(json& j, const std::shared_ptr<T>& opt)
372 static void to_json(json& j, const udt::legacy_type& l)
388 SECTION("to_json")
419 SECTION("to_json")
442 static void to_json(json& j, const type& /*type*/)
474 static void to_json(json& j, const std::unique_ptr<T>& opt)
501 SECTION("to_json")
565 // In short, constructing a json by constructor calls to_json
577 static void to_json(BasicJsonType& j, const T& t)
579 using nlohmann::to_json;
580 to_json(j, t);
586 static void to_json(BasicJsonType& j, const T& t) noexcept
591 nlohmann::to_json(j, value);
612 static void to_json(BasicJsonType& j, const non_pod& np)
673 static void to_json(custom_json& j, const T& t)
675 using nlohmann::to_json;
676 to_json(j, t);