// UnmarshalJSON unmarshals the activity.
UnmarshalJSON unmarshals the activity.
// UnmarshalJSON unmarshals the activity .
func (t *ActivityType) UnmarshalJSON(bytes []byte) error {
	t.ObjectType = NewObject()
	t.activity = &activityType{}
	return UnmarshalJSON(bytes, t.ObjectType, t.activity)
}
func ( t * ActivityType ) UnmarshalJSON ( bytes [ ] byte ) error { t . ObjectType = NewObject ( ) t . activity = & activityType { } return UnmarshalJSON ( bytes , t . ObjectType , t . activity ) }
UnmarshalJSON unmarshals the activity.
UnmarshalJSON unmarshals the activity .