I'm dealing with two JSON arrays:
firstArray = [{"quantity":"5","detailed_product_id":"1015","detailed_category_id":"9"}]
and
secondArray = [{"quantity":"2","detailed_product_id":"1003","detailed_category_id":"9"}]
I need to merge these arrays into one like this:
mergedArray = [{"quantity":"5","detailed_product_id":"1015","detailed_category_id":"9"},{"quantity":"2","detailed_product_id":"1003","detailed_category_id":"9"}]
Your assistance would be greatly appreciated.