def parse(self, configManager, config):
        """
        Parse configuration options out of a YAML configuration file.

        Inputs: configManager - Our parent ConfigManager instance which is constructing the Config object.
                config        - The _Config object containing configuration options populated thus far.

        Outputs: A dictionary of new configuration options to add to the Config object.
        """

        jsonConfigs = json.loads(self.jsonString)
        if isinstance(jsonConfigs, dict):
            return jsonConfigs

        raise self.subparserException("JSON string parsed did not result in a dictionary, but instead a %s"
                                      % type(jsonConfigs))
def parse ( self , configManager , config ) : jsonConfigs = json . loads ( self . jsonString ) if isinstance ( jsonConfigs , dict ) : return jsonConfigs raise self . subparserException ( "JSON string parsed did not result in a dictionary, but instead a %s" % type ( jsonConfigs ) )
Parse configuration options out of a YAML configuration file.

        Inputs: configManager - Our parent ConfigManager instance which is constructing the Config object.
                config        - The _Config object containing configuration options populated thus far.

        Outputs: A dictionary of new configuration options to add to the Config object.