what is the best way to convert a json formatted key value pair to ruby hash with symbol as key?

前端 未结 7 849
无人共我
无人共我 2020-12-23 13:08

I am wondering what is the best way to convert a json formatted key value pair to ruby hash with symbol as key: example:

{ \'user\': { \'name\': \'foo\', \'         


        
7条回答
提交回复
热议问题