MCPcopy Create free account
hub / github.com/JLW-7/Wally / cJSON_ArrayForEach

Function cJSON_ArrayForEach

main/ota.cc:139–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 Settings settings("mqtt", true);
138 cJSON *item = NULL;
139 cJSON_ArrayForEach(item, mqtt) {
140 if (item->type == cJSON_String) {
141 if (settings.GetString(item->string) != item->valuestring) {
142 settings.SetString(item->string, item->valuestring);
143 }
144 }
145 }
146 has_mqtt_config_ = true;
147 }
148

Callers

nothing calls this directly

Calls 2

GetStringMethod · 0.80
SetStringMethod · 0.80

Tested by

no test coverage detected