Cell down alarm notification [Issue-Id: ODUHIGH-430]
[o-du/l2.git] / src / o1 / ves / JsonHelper.hpp
index 1546776..441fd92 100644 (file)
@@ -39,16 +39,20 @@ class JsonHelper
                                   const char* value);
       static cJSON* addNodeToObject(cJSON * parent, \
                                   const char * nodeName, double value);
-
+      static cJSON* addNodeToObject(cJSON * parent, \
+                                  const char * nodeName, bool value);
       static void deleteNode(cJSON * node);
       static cJSON_bool addJsonNodeToObject(cJSON * parent, \
                              const char * nodeName, cJSON * node);
       static cJSON* read(const char * fileName);
-      static char* getValue(cJSON *json, const char *node);
+      static std::string getValue(cJSON *json, const char *node);
       static cJSON * getNode(cJSON *json, const char *node);
       static char *printUnformatted(cJSON * node);
       static char *print(cJSON * node);
       static const char *getError();
+      static cJSON* createArray();
+      static cJSON_bool addJsonNodeToArray(cJSON * array, cJSON* node);
+
 
 };