def json_data(self):
return {<EOL>"<STR_LIT:type>": self.type,<EOL>"<STR_LIT>": self.origin_id,<EOL>"<STR_LIT>": self.network_id,<EOL>"<STR_LIT>": self.contents,<EOL>}<EOL>
The json representation of an info.