1 #pragma once 2 #include <nlohmann/json.hpp> 3 4 namespace registered_client 5 { 6 // clang-format off 7 8 enum class ClientType{ 9 Invalid, 10 Monitor, 11 Configure, 12 }; 13 14 NLOHMANN_JSON_SERIALIZE_ENUM(ClientType, { 15 {ClientType::Invalid, "Invalid"}, 16 {ClientType::Monitor, "Monitor"}, 17 {ClientType::Configure, "Configure"}, 18 }); 19 20 } 21 // clang-format on 22