1
I have the following object
json1:{A:1, B:2}
json2:{A:4, C:3}
How do I make the json1
receive the data from json2
, replacing if he finds an equal key and moving if he doesn’t find it, more or less so than the json1
would have resulted:
json1:{A:4, B:2, C:3}