import

@JvmName(name = "importFile")
fun ModelImporter.import(jsonFile: File)

Incrementally updates the root of the receiver ModelImporter based on the ModelData specification contained in the given file.

Parameters

jsonFile

json file containing the model specification

Throws

if the file is not a json file or the file does not exist.