Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> that it can only have scalars in it (no sub-arrays or objects)

I see CSV files that contain JSON arrays/objects in their fields all the time. Mainly from exporting Postgres tables that contain json/jsonb-typed columns. Are you saying that these aren't valid CSVs?



They're saying that a CSV equivalent should be strictly 2-dimensional, with "flat" values.

Such a format could contain arbitrary JSON in a "cell", but simply as text, in the same way as putting the same data in a CSV.


These are strings containing JSON




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: