code: def open(name):
      
      name: str or file or file-like or pathlib.Path
          File to be opened
      """
      with builtins.open(name, mode='r') as fd:
          data = json.load(fd)
      return loads(data)
docs: name: str or file or file-like or pathlib.Path
          File to be opened