Or is something like this okay? ``` val inputStrea...
# tornadofx
n
Or is something like this okay?
Copy code
val inputStream = FileInputStream(Paths.get(dir.absolutePath+"/topics.json").toFile())
val jsonReader: JsonReader = Json.createReader(inputStream)
val topicList = jsonReader.readArray().toModel<Topic>()