WPILibC++ 2024.3.2
|
namespace for Niels Lohmann More...
Static Public Member Functions | |
template<typename BasicJsonType , typename TargetType = ValueType> | |
static auto | from_json (BasicJsonType &&j, TargetType &val) noexcept(noexcept(::wpi::from_json(std::forward< BasicJsonType >(j), val))) -> decltype(::wpi::from_json(std::forward< BasicJsonType >(j), val), void()) |
convert a JSON value to any value type More... | |
template<typename BasicJsonType , typename TargetType = ValueType> | |
static auto | from_json (BasicJsonType &&j) noexcept(noexcept(::wpi::from_json(std::forward< BasicJsonType >(j), detail::identity_tag< TargetType > {}))) -> decltype(::wpi::from_json(std::forward< BasicJsonType >(j), detail::identity_tag< TargetType > {})) |
convert a JSON value to any value type More... | |
template<typename BasicJsonType , typename TargetType = ValueType> | |
static auto | to_json (BasicJsonType &j, TargetType &&val) noexcept(noexcept(::wpi::to_json(j, std::forward< TargetType >(val)))) -> decltype(::wpi::to_json(j, std::forward< TargetType >(val)), void()) |
convert any value type to a JSON value More... | |
namespace for Niels Lohmann
default JSONSerializer template argument
This serializer ignores the template arguments and uses ADL (argument-dependent lookup) for serialization.
|
inlinestaticnoexcept |
convert a JSON value to any value type
|
inlinestaticnoexcept |
convert a JSON value to any value type
|
inlinestaticnoexcept |
convert any value type to a JSON value