libconfig.Config.set_options_from_JSON

Config.set_options_from_JSON(filename)

Load options from a YAML-formated file.

Parameters:

filename (str) – File from which to load the options.

Raise:
IOError:If filename does not exist.