|
sfcode
An Online Competing and Development Environment
|
Reads a JSON file and then parses it into an object. options are the same that you'd pass to jsonFile.readFileSync.
Alias: readJSONSync()
file <String>options <Object>readJsonSync() can take a throws option set to false and it won't throw if the JSON is invalid. Example: