config_resolver.handler.json module

Handler for JSON files

config_resolver.handler.json.empty()[source]

Create an empty configuration instance.

config_resolver.handler.json.from_filename(filename)[source]

Create a configuration instance from a file-name.

config_resolver.handler.json.from_string(data)[source]

Create a configuration instance from a text-string

config_resolver.handler.json.get_version(data)[source]

Retrieve the parsed version number from a given config instance.

config_resolver.handler.json.update_from_file(data, filename)[source]

Updates an existing config instance from a given filename.

The config instance in data will be modified in-place!