|
Aegis2D
Modular C++26 2D game engine for networked games
|
One value of a configuration document, independent of the JSON library. More...
#include <aegis2d/core/config.hpp>
Public Types | |
| using | Array = std::vector< ConfigValue > |
| JSON array. | |
| using | Object = std::vector< ConfigMember > |
| JSON object, members in document order. | |
Public Attributes | |
| std::variant< std::monostate, bool, std::int64_t, double, std::string, Array, Object > | data |
| The value itself. | |
One value of a configuration document, independent of the JSON library.
Integers that do not fit in std::int64_t are stored as double; JSON null is std::monostate.
| using aegis2d::core::ConfigValue::Array = std::vector<ConfigValue> |
JSON array.
| using aegis2d::core::ConfigValue::Object = std::vector<ConfigMember> |
JSON object, members in document order.
| std::variant<std::monostate, bool, std::int64_t, double, std::string, Array, Object> aegis2d::core::ConfigValue::data |
The value itself.