我有一个 ruby 哈希,如下所示:
{ id: 123, name: "test" }
我想将其转换为:
{ "id" => 123, "name" => "test" }
ruby hash stringify
hash ×1
ruby ×1
stringify ×1