2015-09-28 JSONファイルを1行で読込む ruby data = JSON.parse(File.read(filepath)) # または File.open(filepath){|io| JSON.load(io) }