1 #pragma once
2 #include <nlohmann/json.hpp>
3 
4 namespace action_info
5 {
6 // clang-format off
7 
8 enum class ParameterTypes{
9     Invalid,
10     Boolean,
11     Number,
12     NumberArray,
13     String,
14     StringArray,
15     Object,
16     ObjectArray,
17 };
18 
19 NLOHMANN_JSON_SERIALIZE_ENUM(ParameterTypes, {
20     {ParameterTypes::Invalid, "Invalid"},
21     {ParameterTypes::Boolean, "Boolean"},
22     {ParameterTypes::Number, "Number"},
23     {ParameterTypes::NumberArray, "NumberArray"},
24     {ParameterTypes::String, "String"},
25     {ParameterTypes::StringArray, "StringArray"},
26     {ParameterTypes::Object, "Object"},
27     {ParameterTypes::ObjectArray, "ObjectArray"},
28 });
29 
30 }
31 // clang-format on
32