I have one json object and one array as follows:
a = [{"id":1,"content":"aaa"},{"id":2,"content":"bbb"}];
b = ["a.jpg","b.jpg"];
Now i want to create one more json object which points to this json and array , Something like :
c = [{groupId:1,
"group":[{"aId":pointer to a json,"bId":pointer to b array
},{"aId":pointer to a json,"bId":pointer to b array
}]
}];
Is it possible in javascript??