def parse_json(self, json):
        self.doi = DOI(json.get('URL', None))
        self.score = float(json.get('score', 0.))
        try:
            self.title = self.format_title(json['title'][0])
        except (IndexError, KeyError):
            self.title = self.UNKNOWN_TITLE

        #self.timestamp = float(json['deposited']['timestamp'])/1000.
        try:
            self.year = int(json['issued']['date-parts'][0][0])
        except (TypeError, __HOLE__, IndexError):
            self.year = self.UNKNOWN_YEAR
        try:
            self.authors = self.__format_authors(json['author'])
        except KeyError:
            self.authors = self.UNKNOWN_AUTHORS
        self.type = json.get('type', None)
        self.publisher = json.get('publisher', None)
        self.url = json.get('URL', None)
dataset/ETHPy150Open dotcs/doimgr/lib/search/result.py/SearchResult.parse_json