How to iterate through JSON hash with coffeescript How to iterate through JSON hash with coffeescript json json

How to iterate through JSON hash with coffeescript


for key, value of result  console.log "#{key} and #{value}"

more in the docs#loops


result = JSON.parse client     for c in result        console.log(c.key +"-"+ c.value)

it's work!