I want to add the two JSON data in to one object..
this is Array name as MAPPER.
[ MAPPER {
FieldOne: 'ABC',
FieldTwo: 'City',
FieldThree: 'John Wick
FieldFour: '1234556789' } ]
And our json file is
[
{
userId: "1",
Title: "js",
Status: "done"
},
{
userId: "2",
Title: "nodejs",
Status: "pending"
},
{
userId: "3",
Title: "node1",
Status: "done"
}
]
what i want is to add this two into one JSON data..
so our final file will look like
[
{
userId: "1",
Title: "js",
Status: "done",
FieldOne: 'ABC',
FieldTwo: 'City',
FieldThree: 'John Wick'
FieldFour: '1234556789'
}
and so on...
]
if any one this please share up the things.. Thanks in advance..