(self, value)
return value.to_dict()
Encodes an instance of the field's DataObject class into its
        representative dictionary value.
Encodes an instance of the field's DataObject class into its
        representative dictionary value.
Encodes an instance of the field s DataObject class into its representative dictionary value .
def encode(self, value):
        """Encodes an instance of the field's DataObject class into its
        representative dictionary value."""
        return value.to_dict()
def encode ( self , value ) : return value . to_dict ( )