JSON for Modern C++
3.9.0
|
#include <json.hpp>
Public Types | |
using | Container = std::vector< std::pair< const Key, T >, Allocator > |
using | key_type = Key |
using | mapped_type = T |
Public Member Functions | |
ordered_map (const Allocator &alloc=Allocator()) | |
template<class It > | |
ordered_map (It first, It last, const Allocator &alloc=Allocator()) | |
ordered_map (std::initializer_list< T > init, const Allocator &alloc=Allocator()) | |
std::pair< iterator, bool > | emplace (key_type &&key, T &&t) |
size_type | erase (const Key &key) |
T & | operator[] (Key &&key) |
ordered_map: a minimal map-like container that preserves insertion order for use within nlohmann::basic_json<ordered_map>