JSON for Modern C++  3.7.0

◆ get() [2/6]

template<template< typename U, typename V, typename... Args > class ObjectType = std::map, template< typename U, typename... Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = std::int64_t, class NumberUnsignedType = std::uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator, template< typename T, typename SFINAE=void > class JSONSerializer = adl_serializer>
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

This overloads converts the current basic_json in a different basic_json type

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

Definition at line 16940 of file json.hpp.