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