Ruby treating returned Json as String but it's an Array of Hashes?

前端 未结 0 1729
心在旅途
心在旅途 2021-02-04 07:25

I\'ve got an array of hashes being returned by file.read on a JSON file as follows

restaurant_json
[{ "restaurant":"hells kitchen", "cost         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题