Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 31 of 31 for stackoverflow (0.1 sec)

  1. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/helpers.go

    	//meta.SetManagedFields(existingMeta.GetManagedFields())
    }
    
    // MarshalJSON implements json.Marshaler
    // MarshalJSON may get called on pointers or values, so implement MarshalJSON on value.
    // http://stackoverflow.com/questions/21390979/custom-marshaljson-never-gets-called-in-go
    func (f FieldsV1) MarshalJSON() ([]byte, error) {
    	if f.Raw == nil {
    		return []byte("null"), nil
    	}
    	return f.Raw, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 15 10:58:36 UTC 2022
    - 9.6K bytes
    - Viewed (0)
Back to top