def tojson(self) -> str:
return json.dumps({<EOL>'<STR_LIT>': str(self.id),<EOL>'<STR_LIT>': self.type,<EOL>'<STR_LIT>': self.schema_name,<EOL>'<STR_LIT>': self.table_name,<EOL>'<STR_LIT>': self.row_id<EOL>})<EOL>
Serialize an Event into JSON.

        Returns
        -------
        str
            JSON-serialized Event.