CSV structure for Array

Hi there, i can’t find a exemple of how to format a array for a csv import, there’s a json exemple on this page https://www.algolia.com/doc/guides/indexing/formatting-your-data/ but not a csv one.

btw the json exemple miss a “}” a the end.

Hello! Thanks for reaching out. Unfortunately there is no standard way to specify arrays in CSV (this isn’t specific to Algolia). One of my colleagues has written a CSV toolbox that may be helpful - in particular, it’s possible to indicate columns that should be parsed as arrays. Other than that, my only suggestion would be to find a way to convert your raw data into a format that has a proper array structure (such as JSON).

In any case, thanks for catching the error with the JSON block in the documentation. I’ll get that fixed right away!