I have 2 different JSON files which I want to merge as shown below: I also attached a screenshot of the JSON files.
Could you please help me with the solution
Thank you!
Input 1
{
"Name": "John",
"Birth": "Japan",
"Date": "25",
},
{
"Name": "Sam",
"Birth": "India",
"Date": "29",
}
Input 2:
"contactDetails":{
"Email": "john@yahoo.com",
"Phone": "123-999-1111",
"Home": "Kings"},
"contactDetails":{
"Email": "sam@yahoo.com",
"Phone": "123-999-2222",
"Home": "Queens"}
Final Output:
"contactDetails":{
"Email": "john@yahoo.com",
"Phone": "123-999-1111",
"Home": "Kings"},
"contactDetails":{
"Email": "sam@yahoo.com",
"Phone": "123-999-2222",
"Home": "Queens"}
Input 1

Input 2

Final Output
