import json # Load the JSON data from a file with open('plugin_config/TAL-NoiseMaker-config.json') as f: data = json.load(f) dico=[] # Extract the key ID from the JSON data key_id = data['parameters'] for param in key_id: dico.append(param['id']) print(dico)