![]() |
libdisplaydevice v2026.322.2407
C++ library to modify display devices.
|
Declarations for JSON conversion functions. More...
Go to the source code of this file.
Macros | |
| #define | DD_JSON_DECLARE_CONVERTER(Type) |
| Helper MACRO to declare the toJson and fromJson converters for a type. | |
Functions | |
| bool | display_device::fromJson (const std::string &string, bool &obj, std::string *error_message=nullptr) |
| bool | display_device::fromJson (const std::string &string, EdidData &obj, std::string *error_message=nullptr) |
| bool | display_device::fromJson (const std::string &string, EnumeratedDevice &obj, std::string *error_message=nullptr) |
| bool | display_device::fromJson (const std::string &string, EnumeratedDeviceList &obj, std::string *error_message=nullptr) |
| bool | display_device::fromJson (const std::string &string, SingleDisplayConfiguration &obj, std::string *error_message=nullptr) |
| bool | display_device::fromJson (const std::string &string, std::set< std::string > &obj, std::string *error_message=nullptr) |
| bool | display_device::fromJson (const std::string &string, std::string &obj, std::string *error_message=nullptr) |
| std::string | display_device::toJson (const bool &obj, const std::optional< unsigned int > &indent=2u, bool *success=nullptr) |
| std::string | display_device::toJson (const EdidData &obj, const std::optional< unsigned int > &indent=2u, bool *success=nullptr) |
| std::string | display_device::toJson (const EnumeratedDevice &obj, const std::optional< unsigned int > &indent=2u, bool *success=nullptr) |
| std::string | display_device::toJson (const EnumeratedDeviceList &obj, const std::optional< unsigned int > &indent=2u, bool *success=nullptr) |
| std::string | display_device::toJson (const SingleDisplayConfiguration &obj, const std::optional< unsigned int > &indent=2u, bool *success=nullptr) |
| std::string | display_device::toJson (const std::set< std::string > &obj, const std::optional< unsigned int > &indent=2u, bool *success=nullptr) |
| std::string | display_device::toJson (const std::string &obj, const std::optional< unsigned int > &indent=2u, bool *success=nullptr) |
Variables | |
| const std::optional< unsigned int > | display_device::JSON_COMPACT {std::nullopt} |
Declarations for JSON conversion functions.
| #define DD_JSON_DECLARE_CONVERTER | ( | Type | ) |
Helper MACRO to declare the toJson and fromJson converters for a type.
*Examples**