ruby read json file

190

ruby read json file -

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

Comments

Submit
0 Comments