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

Method from_json

Source/Utils/json.hpp:4382–4387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4380 */
4381 template<typename BasicJsonType, typename ValueType>
4382 static auto from_json(BasicJsonType&& j, ValueType& val) noexcept(
4383 noexcept(::nlohmann::from_json(std::forward<BasicJsonType>(j), val)))
4384 -> decltype(::nlohmann::from_json(std::forward<BasicJsonType>(j), val), void())
4385 {
4386 ::nlohmann::from_json(std::forward<BasicJsonType>(j), val);
4387 }
4388
4389 /*!
4390 @brief convert any value type to a JSON value

Callers

nothing calls this directly

Calls 1

from_jsonFunction · 0.85

Tested by

no test coverage detected