JSON for Modern C++  2.0.3

§ key()

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>
object_t::key_type nlohmann::basic_json::const_iterator::key ( ) const
inline
Precondition
The iterator is initialized; i.e. m_object != nullptr.

Definition at line 7289 of file json.hpp.