tornadofx / tornadofx / loadJsonModel

loadJsonModel

inline fun <reified T : JsonModel> loadJsonModel(url: URL): <ERROR CLASS>

Load a JsonModel of the given type from the given URL

inline fun <reified T : JsonModel> loadJsonModel(input: InputStream): <ERROR CLASS>

Load a JsonModel of the given type from the given InputStream

inline fun <reified T : JsonModel> loadJsonModel(path: Path, vararg options: OpenOption = arrayOf(READ)): <ERROR CLASS>

Load a JsonModel of the given type from the given path with the optional OpenOptions

inline fun <reified T : JsonModel> loadJsonModel(source: String): <ERROR CLASS>

Load a JsonModel from the given String source