method
NonNullInput.MarshalJSON
func (input NonNullInput[T]) MarshalJSON() (
[]byte,
error,
)MarshalJSON implements json.Marshaler and rejects an encoded JSON null.
Related types
NonNullInputA write-only generated mutation value that refuses to encode JSON null.