JSON for Modern C++  3.9.1

◆ get() [2/6]

template<typename BasicJsonType , detail::enable_if_t< !std::is_same< BasicJsonType, basic_json >::value &&detail::is_basic_json< BasicJsonType >::value, int > = 0>
BasicJsonType nlohmann::basic_json::get ( ) const
inline

This overloads converts the current basic_json in a different basic_json type

Template Parameters
BasicJsonType== basic_json
Returns
a copy of *this, converted into
Template Parameters
BasicJsonType
Complexity
Depending on the implementation of the called from_json() method.
Since
version 3.2.0

Definition at line 19359 of file json.hpp.