Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PatchMap ¶
PatchMap performs a JSON Merge Patch as defined in https://datatracker.ietf.org/doc/html/rfc7386.
This should return a new map without modifying the current or patch inputs. Notes:
- if new is nil, the output is an empty object - this allows for in-place
- if a key is not a map, it will be treated as scalar according to the JSON Merge Patch strategy. This includes structs and slices.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.