-1

I complicated json structure ie:

{
  "products": [
    {
      "id": "1234567890",
      "productType": {
        "name": "XYZ"
      },
      "masterData": {
        "current": {
          "masterVariant": {
            "assets": [],
            "images": [
              {
                "url": "https://www.nieuwkoopimages.com/images/123456.png",
                "dimensions": {
                  "w": 0,
                  "h": 0
                }
              }
            ]
          }
        }
      }
    }
  ]
}

I need to export this to csv file. Is it possible to do it in automated way ? that will generate for example columns: products.id, products.productType.name, products.masterData.curent etc etc

? thanks!

FrancMo
  • 1,804
  • 2
  • 15
  • 28

1 Answers1

-2

In CSV file you have only one flat table. If you want to export single product as one row, you must prepare serialization for deep objects. The biggest problem is with inner lists.

M. Liver
  • 97
  • 6