Here is what I have in my controller

```
class HomeController < ApplicationController

  def index
    require 'open-uri'
    @shakelines = JSON.parse(open("http://api.placemeter.net/api/shake/line/?start=-120&end=0").read())
  end 
end

```

I am not sure what @shakelines contain. What data structure that it is in? array or hash and how to use it.

in my corresponding view

```
<div class="container">
    <div class="row">
        <div class="medium-12 columns"></div>
          <% @shakelines.each do |shakeline| %>
            <ul>
              <li><%= shakeline %></li>
            </ul>
          <% end %>
        </div>
    </div>
</div>

```

I am getting this in my output

```
["average_line_wait_secs", [0, 0, 0]]

["end", 1396627145]

["timestamps", [1396627020, 1396627080, 1396627140]]

["average_line_length", [0, 0, 0]]

["start", 1396627020]

```

it looks like an array? but when I open the url it looks like a hash but its a json object though. 

if its an array how do I access the data structure? only using index?
and same with hashes. 

also besides doing `<% @shakelines.each do |shakeline| %>` what is just `<% @shakelines %>`? its throwing an error