code: def loadFromString(self, body):
          
          try:
              self._data = json.loads(body)
          except Exception as e:
              raise ConfigException('%s: invalid config body: %s' %
                                    (self._path, e.message))
          self._doDefaults()
docs: Load config data (i.e. JSON text) from the given string
  
          :param str body: config data in JSON format