public override object?ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer) { if (objectType != typeof(ActionCombo)) { throw new JsonException("Object is not ActionCombo."); } return(Keybinds.KeybindStringToCombo(reader.Value as string)); }