def METHOD_NAME(self, file):
    data = json.load(file)
    v = data.get("version", "")
    try:
        self.version = self.VERSIONS[v]
    except KeyError:
        raise ValueError("Unrecognized JSONFeed version '%s'" % v)
    for src, dst in self.FEED_FIELDS:
        if src in data:
            self.feeddata[dst] = data[src]
    if "author" in data:
        self.parse_author(data["author"], self.feeddata)
    # TODO: hubs; expired has no RSS equivalent
    self.entries = [self.parse_entry(e) for e in data["items"]]