method
Input.MarshalJSON
MarshalJSON implements json.Marshaler. Nil *Input fields are omitted by the generated parent struct's omitempty tag before this method is called.
Returns
The declared result.
([]byte, error)Full signature
func (input Input[T]) MarshalJSON() (
[]byte,
error,
)Related types
InputA presence-aware value used by nullable generated Go mutation fields.