Searched defs:Serializable (Results 1 – 1 of 1) sorted by relevance
28 struct Serializable { struct30 virtual ~Serializable(){}; in ~Serializable() argument42 static bool GetValue(cJSON *node, const std::string &name, Serializable &value); argument46 auto subNode = GetSubNode(node, name);51 auto size = cJSON_GetArraySize(subNode);57 bool ret = true;58 for (int32_t i = 0; i < size; i++) {59 auto item = cJSON_GetArrayItem(subNode, i);69 …ypename T> static bool SetValue(cJSON *node, const std::string &name, const std::vector<T> &values) in SetValue()