HashObj={","language"=>"zh","make"=>"Apple","sw"=>768},"user"=>{}} level = 0 def each_kv hh hh.keys.each do |key| val = hh[key] if val.class == Hash # puts "||||| val is #{v…
HashObj={","language"=>"zh","make"=>"Apple","sw"=>768},"user"=>{}} level = 0 def each_kv hh hh.keys.each do |key| val = hh[key] if val.class == Hash # puts "||||| val is #{v…