Public Member Functions | Private Member Functions | List of all members
nlohmann::detail::to_json_fn Struct Reference

#include <json.hpp>

Public Member Functions

template<typename BasicJsonType , typename T >
void operator() (BasicJsonType &j, T &&val) const noexcept(noexcept(std::declval< to_json_fn >().call(j, std::forward< T >(val), priority_tag< 1 >{})))
 

Private Member Functions

template<typename BasicJsonType , typename T >
auto call (BasicJsonType &j, T &&val, priority_tag< 1 >) const noexcept(noexcept(to_json(j, std::forward< T >(val)))) -> decltype(to_json(j, std::forward< T >(val)), void())
 
template<typename BasicJsonType , typename T >
void call (BasicJsonType &, T &&, priority_tag< 0 >) const noexcept
 

Detailed Description

Definition at line 1531 of file json.hpp.

Member Function Documentation

template<typename BasicJsonType , typename T >
auto nlohmann::detail::to_json_fn::call ( BasicJsonType &  j,
T &&  val,
priority_tag< 1 >   
) const -> decltype(to_json(j, std::forward<T>(val)), void())
inlineprivatenoexcept

Definition at line 1535 of file json.hpp.

template<typename BasicJsonType , typename T >
void nlohmann::detail::to_json_fn::call ( BasicJsonType &  ,
T &&  ,
priority_tag< 0 >   
) const
inlineprivatenoexcept

Definition at line 1542 of file json.hpp.

template<typename BasicJsonType , typename T >
void nlohmann::detail::to_json_fn::operator() ( BasicJsonType &  j,
T &&  val 
) const
inlinenoexcept

Definition at line 1557 of file json.hpp.


The documentation for this struct was generated from the following file:


json_transport
Author(s): Paul Bovbel
autogenerated on Thu Jun 13 2019 19:12:24