| 5784 | /// @sa https://json.nlohmann.me/api/adl_serializer/to_json/ |
| 5785 | template<typename BasicJsonType, typename TargetType = ValueType> |
| 5786 | static auto to_json(BasicJsonType& j, TargetType && val) noexcept( |
| 5787 | noexcept(::nlohmann::to_json(j, std::forward<TargetType>(val)))) |
| 5788 | -> decltype(::nlohmann::to_json(j, std::forward<TargetType>(val)), void()) |
| 5789 | { |
| 5790 | ::nlohmann::to_json(j, std::forward<TargetType>(val)); |
| 5791 | } |
| 5792 | }; |
| 5793 | |
| 5794 | NLOHMANN_JSON_NAMESPACE_END |