code: def dump(self, name, obj, context=None):
          
          value = self.get_value(name, obj, context=context)
          return self.field_type.dump(value, context=context)
docs: Serialize data to primitive types. Raises
          :exc:`~lollipop.errors.ValidationError` if data is invalid.
  
          :param str name: Name of attribute to serialize.
          :param obj: Application object to extract serialized value from.
          :returns: Serialized data.
          :raises: :exc:`~lollipop.errors.ValidationError`