wrapper to access iterator member functions in range‐based for

Synopsis

Declared in <nlohmann/json.hpp>

[[deprecated]]
static
iteration_proxy<iterator>
iterator_wrapper(reference ref) noexcept;
Warning

Deprecated: Since 3.1.0; use items(). Use of this entity is allowed but discouraged.

Return Value

iteration proxy exposing key()/`value()` for range‐based for loops

Parameters

Name

Description

ref

JSON value to iterate over

Created with MrDocs