Skip to content

Instantly share code, notes, and snippets.

@benwoody
Created September 6, 2012 20:58
Show Gist options
  • Save benwoody/3660337 to your computer and use it in GitHub Desktop.
Save benwoody/3660337 to your computer and use it in GitHub Desktop.
require 'json'
json = JSON.parse(YOURFILE)
a = []
json['entries'].each { |v| a <<v }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment