Add nlohmann/json parser
[anna.git] / example / diameter / launcher / EventOperation.hpp
diff --git a/example/diameter/launcher/EventOperation.hpp b/example/diameter/launcher/EventOperation.hpp
new file mode 100644 (file)
index 0000000..2d9e056
--- /dev/null
@@ -0,0 +1,26 @@
+// ANNA - Anna is Not Nothingness Anymore                                                         //
+//                                                                                                //
+// (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo                         //
+//                                                                                                //
+// See project site at http://redmine.teslayout.com/projects/anna-suite                           //
+// See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
+
+
+#ifndef example_diameter_launcher_EventOperation_hpp
+#define example_diameter_launcher_EventOperation_hpp
+
+// Project
+#include <anna/json/json.hpp>
+
+// STL
+#include <string>
+
+using json = nlohmann::json;
+
+class EventOperation {
+
+public:
+  static std::string json2piped(const json &j);
+};
+
+#endif