JSON object.
More...
#include <millijson.hpp>
|
std::unordered_map< std::string, std::shared_ptr< Base > > | values |
|
◆ add()
void millijson::Object::add |
( |
std::string | key, |
|
|
std::shared_ptr< Base > | value ) |
|
inline |
- Parameters
-
key | String containing the key. |
value | Value to add to the array. |
◆ has()
bool millijson::Object::has |
( |
const std::string & | key | ) |
const |
|
inline |
- Parameters
-
- Returns
- Whether
key
already exists in the object.
◆ type()
Type millijson::Object::type |
( |
| ) |
const |
|
inlinevirtual |
◆ values
std::unordered_map<std::string, std::shared_ptr<Base> > millijson::Object::values |
Key-value pairs of the object.
The documentation for this struct was generated from the following file: