ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <acts/blob/master/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 | |
Definition at line 3798 of file json.hpp.
View newest version in sPHENIX GitHub at line 3798 of file json.hpp
|
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).
[in] | j | JSON value to read from |
[in,out] | val | value to write to |
Definition at line 3810 of file json.hpp.
View newest version in sPHENIX GitHub at line 3810 of file json.hpp
References nlohmann::detail::from_json().
|
inlinestaticnoexcept |
convert any value type to a JSON value
This function is usually called by the constructors of the basic_json class.
[in,out] | j | JSON value to write to |
[in] | val | value to read from |
Definition at line 3827 of file json.hpp.
View newest version in sPHENIX GitHub at line 3827 of file json.hpp
References nlohmann::detail::to_json().