Global

Methods

loadJSONSyncIfExists(path)

Load a JSON object from a file if the file exists. Does nothing if the file doesn't exist.
Parameters:
Name Type Description
path String the path of the file to load
Source:

writeJSONObjectSyncIfNotExists(path, object)

Write an object in JSON format to a file if the file doesn't exist. Does nothing if the file exists.
Parameters:
Name Type Description
path String the path of the file to write to
object Object the object that will be written to the file
Source: