def get_json(self):
ratings_dict = {<EOL>'<STR_LIT>': self.category,<EOL>'<STR_LIT:date>': self.date,<EOL>'<STR_LIT>': self.weekday,<EOL>'<STR_LIT>': self.next_week,<EOL>'<STR_LIT>': self.last_week,<EOL>'<STR_LIT>': self.entries,<EOL>'<STR_LIT:url>': self.url<EOL>}<EOL>return to_json(ratings_dict)<EOL>
Serialize ratings object as JSON-formatted string