diff --git a/engine/src/stack.hpp b/engine/src/stack.hpp index d214c8c54..47a84da6c 100644 --- a/engine/src/stack.hpp +++ b/engine/src/stack.hpp @@ -650,6 +650,15 @@ struct ComponentConf : public Confable { }; // clang-format on } + + void to_json(Json& j) const override { + j = Json{ + {"binding", binding}, + {"name", name}, + {"from", from}, + {"args", args}, + }; + } }; class ComponentSchema : public FactoryPlugin {