JSON object value providing an associative‐container‐like interface.
Synopsis
Declared in <bdljsn_json.h>
class JsonObject;
Description
This type is designed to replicate much of the standard associative container interface, eliding interfaces that are less relevant for a non‐generic container, like hasher and comparator access, emplacement, nodes, capacity management, etc.
Type Aliases
Name |
Description |
Iterator providing non‐modifiable access to members. |
|
Iterator providing modifiable access to members. |
|
Pair of an iterator and a status flag returned by some insert methods. |
|
Key/value pair type for members of this object. |
|
Iterator providing non‐modifiable access to members. |
|
Reference providing non‐modifiable access to a member. |
|
Signed type used to represent distances between iterators. |
|
Iterator providing modifiable access to members. |
|
Reference providing modifiable access to a member. |
|
Unsigned type used to represent sizes and indices. |
|
Type of the members stored in this object. |
Member Functions
Name |
Description |
|
Constructors |
Assignment operators |
|
Return the allocator used by this object to allocate memory. |
|
|
|
Return a const iterator to the first member of this object. |
|
Return an iterator providing non‐modifiable access to the past‐the‐end position in the sequence of |
|
Remove all entries from this |
|
Return |
|
Return |
|
|
|
|
|
|
|
|
|
Subscript operators |
|
Write this value to the specified output stream in a human‐readable format. |
|
Return the number of elements in this |
|
Exchange the value of this object with that of |
|
|
Declare that this type uses a |
Friends
Name |
Description |
Exchange the values of the specified |
|
Return whether |
|
Return whether |
Non-Member Functions
Name |
Description |
Same as the related overload above for |
|
Same as the related overload above for |
Created with MrDocs