code: def load(fp: Union[TextIO, str], load_module: types.ModuleType, **kwargs):
      
      if isinstance(fp, str):
          with open(fp) as f:
              return loads(f.read(), load_module, **kwargs)
      else:
          return loads(fp.read(), load_module, **kwargs)
docs: Convert a file name or file-like object containing stringified JSON into a JSGObject
  
      :param fp: file-like object to deserialize
      :param load_module: module that contains declarations for types
      :param kwargs: arguments see: json.load for details
      :return: JSGObject representing the json string