I have an issue with such json file:
{
  "name": "The 24H Automatic Eye Pencil",
  "url": "/3ina/the-24h-automatic-pencil-waterproof-brow-pencil/p-16132421/",
  "id": "16132421",
  "gender": "W"
}
{
  "name": "The 24H Automatic Eye Pencil",
  "url": "/3ina/the-24h-automatic-pencil-waterproof-brow-pencil/p-16104273/",
  "id": "16104273",
  "gender": "W"
}
{}
{
  "brand": "3INA",
  "cats": [
    "Makeup",
    "Eyebrows",
    "Eyebrow Makeup"
  ]
}
I has 3 arrays. I would like to replicate the last array to each of the prevoius ones, so it will look like this:
{
  "name": "The 24H Automatic Eye Pencil",
  "url": "/3ina/the-24h-automatic-pencil-waterproof-brow-pencil/p-16104259/",
  "id": "16104259",
  "gender": "W",
  "brand": "3INA",
  "cats": [
    "Makeup",
    "Eyebrows",
    "Eyebrow Makeup"
  ]
}
{
  "name": "The 24H Automatic Eye Pencil",
  "url": "/3ina/the-24h-automatic-pencil-waterproof-brow-pencil/p-16132421/",
  "id": "16132421",
  "gender": "W",
  "brand": "3INA",
  "cats": [
    "Makeup",
    "Eyebrows",
    "Eyebrow Makeup"
  ]
}
I tried to just add or multiply the arrays, but it doesn't work.
When I add specific keys ( {name, url, id, gender} + {brand, cats} ) it displays the key's in place, but it sets values as null.
Can you help me find the solution?
 
     
    