def for_json(self):
cursor = super(CursorField, self).for_json()<EOL>if cursor is not None:<EOL><INDENT>return [getattr(item, '<STR_LIT>', lambda: item)() for item in cursor]<EOL><DEDENT>
Return list of all cursor items, calling .for_json() if available for best representations