Scream
0
Q:

ruby read json file

require "json"
json_from_file = File.read("myfile.json")
hash = JSON.parse(json_from_file)
1

Tags

Related

New to Communities?

Join the community