From: "Sandor Szücs" Date: 2013-08-06T04:19:37+09:00 Subject: Re: parsing json not work in variable On 8/5/13 8:46 PM, gotostereo .. wrote: > openorders = Btce::TradeAPI.order_list > aaa = JSON.parse(openorders) > print aaa > > > Ruby200-x64/lib/ruby/gems/2.0.0/gems/json-1.8.0/lib/json/common.rb:155:in > `initialize': no implicit conversion of Hash into String (TypeError) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ openorders = Btce::TradeAPI.order_list # done, you already have a dictionary no parsing needed -- All the best, Sandor Szücs