|
BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
|
default JSONSerializer template argument More...
#include <json.hpp>
Static Public Member Functions | |
| template<typename BasicJsonType, typename TargetType = ValueType> | |
| static auto | from_json (BasicJsonType &&j, TargetType &val) noexcept(noexcept(::nlohmann::from_json(std::forward< BasicJsonType >(j), val))) -> decltype(::nlohmann::from_json(std::forward< BasicJsonType >(j), val), void()) |
| convert a JSON value to any value type | |
| template<typename BasicJsonType, typename TargetType = ValueType> | |
| static auto | from_json (BasicJsonType &&j) noexcept(noexcept(::nlohmann::from_json(std::forward< BasicJsonType >(j), detail::identity_tag< TargetType >{}))) -> decltype(::nlohmann::from_json(std::forward< BasicJsonType >(j), detail::identity_tag< TargetType >{})) |
| convert a JSON value to any value type | |
| template<typename BasicJsonType, typename TargetType = ValueType> | |
| static auto | to_json (BasicJsonType &j, TargetType &&val) noexcept(noexcept(::nlohmann::to_json(j, std::forward< TargetType >(val)))) -> decltype(::nlohmann::to_json(j, std::forward< TargetType >(val)), void()) |
| convert any value type to a JSON value | |
This serializer ignores the template arguments and uses ADL (argument-dependent lookup) for serialization.
|
inlinestaticnoexcept |
Definition at line 4933 of file json.hpp.
References nlohmann::BasicJsonType().
|
inlinestaticnoexcept |
Definition at line 4922 of file json.hpp.
References nlohmann::BasicJsonType().
|
inlinestaticnoexcept |
Definition at line 4943 of file json.hpp.
References nlohmann::BasicJsonType().