Ruby: How can I convert an array of data to hash and to json format?

后端 未结 0 689
不思量自难忘°
不思量自难忘° 2021-02-15 21:22

I am very new to Ruby array and hash manipulation.

How can I do this simple transformation?

array = [#, #

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