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

后端 未结 0 1061
-上瘾入骨i
-上瘾入骨i 2021-02-15 21:21

I am very new to Ruby array and hash manipulation.

How can I do this simple transformation?

array = [#, #

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