I have two json arrays like,
array1 = [{"quantity":"5","detailed_product_id":"1015","detailed_category_id":"9"}]
and
array2 = [{"quantity":"2","detailed_product_id":"1003","detailed_category_id":"9"}]
I have to combine these two arrays into one array like,
resultarray = [{"quantity":"5","detailed_product_id":"1015","detailed_category_id":"9"},{"quantity":"2","detailed_product_id":"1003","detailed_category_id":"9"}]
Please help me.