scenario.configjson module

JSON configuration file management.

class ConfigJson

Bases: object

JSON configuration file management.

static loadfile(path, root='')

Loads a JSON configuration file.

Parameters:
  • path – Path of the JSON file to load.

  • root – Root key to load the JSON file from.

static savefile(path, root='')

Saves a JSON configuration file.

Parameters:
  • path – Path of the JSON file to save.

  • root – Root key to save data from.