{"title":"file contents to string in scala","blog_title":"by shigemk2","published":"2017-08-21 11:11:05","url":"https://www.shigemk2.com/entry/2017/08/21/file_contents_to_string_in_scala","image_url":null,"blog_url":"https://www.shigemk2.com/","height":"190","categories":["Scala"],"provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.shigemk2.com%2Fentry%2F2017%2F08%2F21%2Ffile_contents_to_string_in_scala\" title=\"file contents to string in scala - by shigemk2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","author_url":"https://blog.hatena.ne.jp/shigemk2/","version":"1.0","provider_name":"Hatena Blog","width":"100%","author_name":"shigemk2","type":"rich","description":"Source.fromFile\u3068\u304b\u4f7f\u3046 val fileContents = Source.fromFile(filename).getLines.mkString"}