File::save()
Saves the object to a JSON-File at the given path.
Examples
File /examples/reference/FileSave.java is missing.
Syntax
Java
.save(path, obj)
Scratch
save (path) (obj)
Parameters
Name | Data Type | Description |
---|---|---|
path | String | Path to a JSON-file. |
obj | Object | An Object. |