code: func (b *Base) AddIf(p Predicate, key string, value interface{}) Serializer {
  	return b.AddFuncIf(p, key, func(m interface{}) interface{} { return value })
  }
docs: // AddIf adds a custom field to the result if the Predicate returns true