I have these two json
var json1={
key1: 'val1',
key2: 'val2'
}
var json2={
key3: 'val3',
key4: 'val4'
}
I want a thrird json with the values from json1 and json2, like this:
json3 = {
key1: 'val1',
key2: 'val2',
key3: 'val3',
key4: 'val4'
}
how can make it posible?, thanks ;)