Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
aegis2d::core::ConfigValue Struct Reference

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.
 

Detailed Description

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.

Member Typedef Documentation

◆ Array

JSON array.

◆ Object

JSON object, members in document order.

Member Data Documentation

◆ data

std::variant<std::monostate, bool, std::int64_t, double, std::string, Array, Object> aegis2d::core::ConfigValue::data

The value itself.


The documentation for this struct was generated from the following file: