// MarshalJSON implements a custom json unmarshal method for a unstructured type.
MarshalJSON implements a custom json unmarshal method for a unstructured type.
// MarshalJSON implements a custom json unmarshal method for a unstructured type .
func (u *UnstructuredTypedObject) MarshalJSON() ([]byte, error) {
	data, err := json.Marshal(u.Object)
	if err != nil {
		return nil, err
	}
	return data, nil
}
func ( u * UnstructuredTypedObject ) MarshalJSON ( ) ( [ ] byte , error ) { data , err := json . Marshal ( u . Object ) if err != nil { return nil , err } return data , nil }
MarshalJSON implements a custom json unmarshal method for a unstructured type.
MarshalJSON implements a custom json unmarshal method for a unstructured type .