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