Documentation ¶
Overview ¶
Package merge provides the capability to merge multiple JSON files or contents into one output.
Merge Rules:
- Simple values (string, number, boolean) are overwritten, others are merged - Elements with same "tag" (or "_tag") in an array will be merged - Add "_priority" property to array elements will help sort the
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyRules ¶
ApplyRules applies merge rules according to _tag, _priority fields, and remove them
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.