def __json__(self, *args):
<EOL>context = self.context()<EOL>if context.returning == '<STR_LIT>':<EOL><INDENT>schema_fields = {c.field() for c in context.schemaColumns(self.schema())}<EOL>output = tuple(value for field, value in self if field in schema_fields)<EOL>if len(output) == <NUM_LIT:1>:<EOL><INDENT>output = output[<NUM_LIT:0>]<EOL><DEDENT><DEDENT>else:<EOL><INDENT>output = dict(self)<EOL><DEDENT>return projex.rest.jsonify(output) if context.format == '<STR_LIT:text>' else output<EOL>
Iterates this object for its values.  This will return the field names from the
database rather than the API names.  If you want the API names, you should use
the recordValues method.

:sa         recordValues

:return     <iter>