How to copy all atrs of “hardcode_elements” to all objects of “final_object”
"hardcoded_elements":{
"uom":"PCS",
"brand":"Some Brand"
},
"final_object":{
[
{
"key":"12345678",
"name":"QWERTY"
},
{
"key":"9876543",
"name":"ASDFGH"
}
]
}
to have
"hardcoded_elements":{
"uom":"PCS",
"brand":"Some Brand"
},
"final_object":{
[
{
"key":"12345678",
"name":"QWERTY" ,
"uom":"PCS",
"brand":"Some Brand"
},
{
"key":"9876543",
"name":"ASDFGH",
"uom":"PCS",
"brand":"Some Brand"
}
]
}
