equal
deleted
inserted
replaced
87 self.json_dict = anyjson.deserialize(json_txt) |
87 self.json_dict = anyjson.deserialize(json_txt) |
88 else: |
88 else: |
89 self.json_dict = json_dict |
89 self.json_dict = json_dict |
90 |
90 |
91 if not json_txt: |
91 if not json_txt: |
92 self.json_txt = json.serialize(json_dict) |
92 self.json_txt = anyjson.serialize(json_dict) |
93 else: |
93 else: |
94 self.json_txt = json_txt |
94 self.json_txt = json_txt |
95 |
95 |
96 if "id" not in self.json_dict: |
96 if "id" not in self.json_dict: |
97 raise TwitterProcessorException("No id in json") |
97 raise TwitterProcessorException("No id in json") |