|
cppfig 0.1.0
Modern C++20 compile-time type-safe configuration library
|
#include <nlohmann/json.hpp>#include <optional>#include <string>#include <string_view>#include "cppfig/value.h"Go to the source code of this file.
Classes | |
| struct | cppfig::JsonSerializer |
| JSON serializer using nlohmann::json. More... | |
| struct | cppfig::ConfigTraitsFromJsonAdl< T > |
| Helper to create ConfigTraits for types with nlohmann::json ADL. More... | |
Namespaces | |
| namespace | cppfig |
| C++20 compile-time type-safe configuration library. | |
Concepts | |
| concept | cppfig::HasJsonAdl |
| Concept for types that have nlohmann::json ADL serialization. | |
Functions | |
| auto | cppfig::JsonToValue (const nlohmann::json &json) -> Value |
| Converts a nlohmann::json value to a cppfig::Value. | |
| auto | cppfig::ValueToJson (const Value &value) -> nlohmann::json |
| Converts a cppfig::Value to a nlohmann::json value. | |