done
}
+_add_string() {
+ json_add_string "" "$1"
+}
+
+uci_option_to_json_string_array() {
+ local cfg="$1"
+ local option="$2"
+
+ json_add_array "$option"
+ config_list_foreach "$cfg" "$option" _add_string
+ json_close_array
+}
+
uci_option_to_json_bool() {
local cfg="$1"
local option="$2"
uci_option_to_json_bool "$cfg" load_kick_enabled
uci_option_to_json_bool "$cfg" assoc_steering
uci_option_to_json_string "$cfg" node_up_script
+ uci_option_to_json_string_array "$cfg" ssid_list
for opt in \
debug_level \