Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zachmann committed May 27, 2024
1 parent 5545544 commit 95f3884
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/jsonutils/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ var emptyArray = []byte{
']',
}

// MergeJSONObjects merges two or more json objects into one
func MergeJSONObjects(overwrite bool, jsons ...[]byte) ([]byte, error) {
data := make([]map[string]json.RawMessage, len(jsons))
for i, j := range jsons {
Expand Down

0 comments on commit 95f3884

Please sign in to comment.