21template<
typename ValueType, 
typename>
 
   26    template<
typename BasicJsonType, 
typename TargetType = ValueType>
 
   27    static auto from_json(BasicJsonType && j, TargetType& val) 
noexcept(
 
   28        noexcept(::wpi::from_json(std::forward<BasicJsonType>(j), val)))
 
   29    -> 
decltype(::wpi::from_json(std::forward<BasicJsonType>(j), val), 
void())
 
   31        ::wpi::from_json(std::forward<BasicJsonType>(j), val);
 
 
   36    template<
typename BasicJsonType, 
typename TargetType = ValueType>
 
   46    template<
typename BasicJsonType, 
typename TargetType = ValueType>
 
   47    static auto to_json(BasicJsonType& j, TargetType && val) 
noexcept(
 
   48        noexcept(::wpi::to_json(j, std::forward<TargetType>(val))))
 
   49    -> 
decltype(::wpi::to_json(j, std::forward<TargetType>(val)), 
void())
 
   51        ::wpi::to_json(j, std::forward<TargetType>(val));
 
 
 
#define WPI_JSON_NAMESPACE_END
Definition abi_macros.h:59
 
#define WPI_JSON_NAMESPACE_BEGIN
Definition abi_macros.h:53
 
namespace for Niels Lohmann
Definition adl_serializer.h:23
 
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
Definition adl_serializer.h:47
 
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
Definition adl_serializer.h:27
 
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
Definition adl_serializer.h:37
 
Definition identity_tag.h:18