JSON for Modern C++  3.7.3

◆ get() [2/6]

template<typename BasicJsonType , detail::enable_if_t< not std::is_same< BasicJsonType, basic_json >::value and 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 17124 of file json.hpp.