package runtime

import (
	

	
)

// JsonMerge merges two JSON representation into a single object. `data` is the
// existing representation and `patch` is the new data to be merged in
//
// Deprecated: Use JSONMerge instead.
func (,  json.RawMessage) (json.RawMessage, error) {
	return JSONMerge(, )
}

// JSONMerge merges two JSON representation into a single object. `data` is the
// existing representation and `patch` is the new data to be merged in
func (,  json.RawMessage) (json.RawMessage, error) {
	 := jsonmerge.Merger{
		CopyNonexistent: true,
	}
	if  == nil {
		 = []byte(`{}`)
	}
	if  == nil {
		 = []byte(`{}`)
	}
	,  := .MergeBytes(, )
	if  != nil {
		return nil, 
	}
	return , nil
}