Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Improve CSV Export #9

Open
etudor opened this issue Aug 9, 2017 · 0 comments
Open

Improve CSV Export #9

etudor opened this issue Aug 9, 2017 · 0 comments

Comments

@etudor
Copy link

etudor commented Aug 9, 2017

When exporting results, all fields that are not string appear as [object Object] in the CSV file.

It would be nice to have the path to the value as a column in CSV.
For example let's assume we have

{
  "title": "iPad",
  "price": {
    "amount": 300,
    "currency": "GBP"
  }
} 

then the CSV file will be:

title,price.amount,price.currency
iPad,300,GBP

Current CSV export will produce:

title,price
iPad,[object Object]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant