code: def load_extra_data(cls, data):
      
      try:
        cls._extra_config.update(json.loads(data))
      except ValueError as exception:
        sys.stderr.write('Could convert to JSON. {0:s}'.format(exception))
        exit(-1)
docs: Loads extra JSON configuration parameters from a data buffer.
  
      The data buffer must represent a JSON object.
  
      Args:
        data: str, the buffer to load the JSON data from.