from
Extract a LocalScreenState from the provided file.
Return
A LocalScreenState populated with data from the file or an empty LocalScreenState if any occur
The file does not exist
The file is a directory
An exception occurs during data extraction.
Parameters
file
The file to extract data from.
Answer a LocalScreenState from the provided JSONObject.
Return
The LocalScreenState.
Parameters
obj
The JSONObject to extract data from.