MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / to_json

Method to_json

Source/Utils/json.hpp:4399–4404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4397 */
4398 template<typename BasicJsonType, typename ValueType>
4399 static auto to_json(BasicJsonType& j, ValueType&& val) noexcept(
4400 noexcept(::nlohmann::to_json(j, std::forward<ValueType>(val))))
4401 -> decltype(::nlohmann::to_json(j, std::forward<ValueType>(val)), void())
4402 {
4403 ::nlohmann::to_json(j, std::forward<ValueType>(val));
4404 }
4405 };
4406
4407} // namespace nlohmann

Callers

nothing calls this directly

Calls 1

to_jsonFunction · 0.85

Tested by

no test coverage detected