diff --git a/Library/Homebrew/cask/config.rb b/Library/Homebrew/cask/config.rb index 53a647839a..79f24b7716 100644 --- a/Library/Homebrew/cask/config.rb +++ b/Library/Homebrew/cask/config.rb @@ -68,7 +68,7 @@ module Cask sig { params(json: String, ignore_invalid_keys: T::Boolean).returns(T.attached_class) } def self.from_json(json, ignore_invalid_keys: false) - config = JSON.parse(json) + config = JSON.parse(json, symbolize_names: true) new( default: config.fetch("default", {}),