EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
nlohmann::adl_serializer< typename, typename > Struct Template Reference

#include <acts/blob/sPHENIX/thirdparty/nlohmann_json/single_include/nlohmann/json.hpp>

Static Public Member Functions

template<typename BasicJsonType , typename ValueType >
static auto from_json (BasicJsonType &&j, ValueType &val) noexcept(noexcept(
 convert a JSON value to any value type
 
template<typename BasicJsonType , typename ValueType >
static auto to_json (BasicJsonType &j, ValueType &&val) noexcept(noexcept(
 convert any value type to a JSON value
 

Detailed Description

template<typename, typename>
struct nlohmann::adl_serializer< typename, typename >

Definition at line 4127 of file json.hpp.

View newest version in sPHENIX GitHub at line 4127 of file json.hpp

Member Function Documentation

template<typename , typename >
template<typename BasicJsonType , typename ValueType >
static auto nlohmann::adl_serializer< typename, typename >::from_json ( BasicJsonType &&  j,
ValueType &  val 
)
inlinestaticnoexcept

convert a JSON value to any value type

This function is usually called by the get() function of the basic_json class (either explicit or via conversion operators).

Parameters
[in]jJSON value to read from
[in,out]valvalue to write to

Definition at line 4139 of file json.hpp.

View newest version in sPHENIX GitHub at line 4139 of file json.hpp

References nlohmann::detail::from_json().

+ Here is the call graph for this function:

template<typename , typename >
template<typename BasicJsonType , typename ValueType >
static auto nlohmann::adl_serializer< typename, typename >::to_json ( BasicJsonType &  j,
ValueType &&  val 
)
inlinestaticnoexcept

convert any value type to a JSON value

This function is usually called by the constructors of the basic_json class.

Parameters
[in,out]jJSON value to write to
[in]valvalue to read from

Definition at line 4156 of file json.hpp.

View newest version in sPHENIX GitHub at line 4156 of file json.hpp

References nlohmann::detail::to_json().

+ Here is the call graph for this function:


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