libconfig.Config.write_options_to_JSON

Config.write_options_to_JSON(filename)

Writes the options in JSON format to a file.

Parameters:filename (str) – Target file to write the options.