private void LoadKeybinds() { string filePath = "edward.json"; using (StreamReader r = new StreamReader(filePath)) { string json = r.ReadToEnd(); JObject keybinds = JObject.Parse(json); foreach (var item in keybinds) { if (item.Key.Contains("Keybind")) { //find button for example in python: f"{item.Key}BTN" and change the button text to item.Value somehow //MessageBox.Show(item.Key + ": " + item.Value); } } } }