我有一个Ruby哈希,看起来像:
{ "id" => "123", "name" => "test" }
我想将其转换为:
{ :id => "123", :name => "test" }
ruby hash
hash ×1
ruby ×1