Skip to content

Instantly share code, notes, and snippets.

Created May 2, 2017 08:38
Show Gist options
  • Save anonymous/5c40254cc2a74b71a9f7f81b79c8328a to your computer and use it in GitHub Desktop.
Save anonymous/5c40254cc2a74b71a9f7f81b79c8328a to your computer and use it in GitHub Desktop.
require 'json'
host_json_file = File.read('host.json')
host_hash = JSON.parse(host_json_file)
puts host_hash.class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment