Have u merged two jsons in javascript ??
Problem:
a={id:123,name:john,status:success};
b={id:123,status:inprocess,transId:245};
Output json should be like
{id:123,name:john,status:success,transId:245};
All the values from a should override the ones in b and also the uncommon key/values should appear in output json.
I tried out some recursive options but cudnt acheive the output.