ruby write json untuk mengajukan
require 'json'
File.open("filename.json", "w") do |f|
f.write(JSON.pretty_generate(my_hash))
end
Nice Nightingale
require 'json'
File.open("filename.json", "w") do |f|
f.write(JSON.pretty_generate(my_hash))
end