// MarshalJSON marshals the 'tag' property.
MarshalJSON marshals the 'tag' property.
// MarshalJSON marshals the ' tag ' property .
func (p *TagProperty) MarshalJSON() ([]byte, error) {
	if p.obj != nil {
		return json.Marshal(p.obj)
	}
	if p.link != nil {
		return json.Marshal(p.link)
	}
	return nil, fmt.Errorf("neither object or link is set on the tag property")
}
func ( p * TagProperty ) MarshalJSON ( ) ( [ ] byte , error ) { if p . obj != nil { return json . Marshal ( p . obj ) } if p . link != nil { return json . Marshal ( p . link ) } return nil , fmt . Errorf ( " " ) }
MarshalJSON marshals the 'tag' property.
MarshalJSON marshals the ' tag ' property .