将 HSON 替换为 Hash
require 'json'
data = JSON '{"test":23}' # => {"test"=>23}
要么
require 'json'
data = JSON['{"test":23}'] # => {"test"=>23}
require 'json'
data = JSON '{"test":23}' # => {"test"=>23}
要么
require 'json'
data = JSON['{"test":23}'] # => {"test"=>23}