| skipped 1368 lines |
1369 | 1369 | | |
1370 | 1370 | | |
1371 | 1371 | | def extract_json_data(data): |
1372 | | - | _temp = [] |
1373 | 1372 | | if hasattr(data, "items"): |
1374 | 1373 | | for key, value in data.items(): |
1375 | 1374 | | if isinstance(value, dict): |
| skipped 3 lines |
1379 | 1378 | | if isinstance(i, dict): |
1380 | 1379 | | extract_json_data(i) |
1381 | 1380 | | if isinstance(i, str): |
1382 | | - | _temp.append({"key": key, "value": i}) |
| 1381 | + | conf._json_post_data.append({"key": key, "value": i}) |
1383 | 1382 | | elif isinstance(value, str): |
1384 | | - | _temp.append({"key": key, "value": value}) |
1385 | | - | # logger.debug(_temp) |
1386 | | - | return _temp |
| 1383 | + | conf._json_post_data.append({"key": key, "value": value}) |
| 1384 | + | # logger.debug(conf._json_post_data) |
| 1385 | + | return conf._json_post_data |
1387 | 1386 | | |
1388 | 1387 | | |
1389 | 1388 | | def check_injection_points_for_level(level, injection_points): |
| skipped 431 lines |