StackOverflow 文件 rubygems 教程 JSON 將 HSON 替換為 Hash 將 HSON 替換為 Hash Created: November-22, 2018 placeholderCopyrequire 'json' data = JSON '{"test":23}' # => {"test"=>23}要麼 placeholderCopyrequire 'json' data = JSON['{"test":23}'] # => {"test"=>23} 替代雜湊到 JSON雜湊的 JSON