I have the following object
json1:{A:1, B:2}
json2:{A:4, C:3}
How do I get json1
to get data from json2
, overriding if it finds an equal key and moving if it does not find, more or less what json1
would result in:
json1:{A:4, B:2, C:3}