how to access elements from array using index : I am at the byebug and `object` has the following array

    [{"a"=>nil, "b"=>79, "c"=>"mg/dL", "d"=>"high", "e"=>false}, {"a"=>80, "b"=>139, "c"=>"mg/dL", "d"=>"low", "e"=>true}, {"a"=>140, "b"=>199, "c"=>"mg/dL", "d"=>"moderate", "e"=>false}, {"a"=>200, "b"=>nil, "c"=>"mg/dL", "d"=>"high", "e"=>false}]

I am trying to pass the index and get the value of d but no luck

    object.as_json.each_with_index.map { |range, i| range[i].d }

i get `undefined method d` for statement above

how can i just get the values of d?