Documentation
¶
Overview ¶
Package jsonpatch contains utilities for JSON Merge Patch APIs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NonRemovable ¶
NonRemovable is a type that prevents JSON null from being used to try and remove a value.
func (NonRemovable[T]) Set ¶
func (v NonRemovable[T]) Set(ptr *T)
Set sets ptr if the value has been provided.
func (*NonRemovable[T]) UnmarshalJSON ¶
func (v *NonRemovable[T]) UnmarshalJSON(b []byte) (err error)
UnmarshalJSON implements the json.Unmarshaler interface for *NonRemovable.
Click to show internal directories.
Click to hide internal directories.