A key/value view supporting structured bindings: for (auto&& [key, val] : obj.items()) { ... } For arrays, key() is the decimal index. More...
#include <json.h>
Public Types | |
| using | JsonPtr = typename std::conditional< Const, const Json *, Json * >::type |
Public Member Functions | |
| ItemsProxy (JsonPtr owner) | |
| Iterator< Const > | begin () const |
| Iterator< Const > | end () const |
A key/value view supporting structured bindings: for (auto&& [key, val] : obj.items()) { ... } For arrays, key() is the decimal index.
| using librats::Json::ItemsProxy< Const >::JsonPtr = typename std::conditional<Const, const Json*, Json*>::type |
|
inlineexplicit |
|
inline |
|
inline |