Implement dynamic procedure at REST interface
[anna.git] / dynamic / launcher / default / Procedure.cpp
index 598912e..6649e62 100644 (file)
@@ -24,3 +24,6 @@ void Procedure::execute(const std::string &args, std::string &response) throw(an
   }
 }
 
+void Procedure::execute(const nlohmann::json &args, std::string &response)  throw(anna::RuntimeException) {
+  execute(args.dump(), response);
+}