Lines Matching defs:json
77 InfoLog("Reading resource string from json config.");
81 cJSON *json = cJSON_Parse(content.c_str());
82 if (json == nullptr) {
83 ErrorLog("json nullptr.");
87 cJSON *resJson = cJSON_GetObjectItemCaseSensitive(json, KEY_STRING);
89 ErrorLog("fail to parse res json");
90 cJSON_Delete(json);
99 ErrorLog("json param not string");
100 cJSON_Delete(json);
106 ErrorLog("json param not string");
107 cJSON_Delete(json);
113 cJSON_Delete(json);