我有以下目录结构。
- main
-- scala
-- resources
--- file.json
我想将file.json
作为java.io.InputStream读取。我知道可以将其作为Source
读取,但我不知道如何获取InputStream
。