code: def data(self):
          
          # Cache the data for next time .data is called.
          if self._data is None:
              self._data = self.to_value(self.instance)
          return self._data
docs: Get the serialized data from the :class:`Serializer`.
  
          The data will be cached for future accesses.