Consider Using CSV
jfhr.me
Consider Using CSV
1–10 of 112 posts
Re: Consider Using CSV
#2Re: Consider Using CSV
#3Re: Consider Using CSV
#4Re: Consider Using CSV
#5CSV in general is problematic as there is no standard (RFC 4180 is not). In certain contexts this surely can be good solution but definitelly not good in general scenario.
Re: Consider Using CSV
#6You could have the advantages of both worlds by having one json object per line. You could stream process, and you could structure more complex objects and have consistent escaping.
Re: Consider Using CSV
#7Re: Consider Using CSV
#8You could have the advantages of both worlds by having one json object per line. You could stream process, and you could structure more complex objects and have consistent escaping.
Re: Consider Using CSV
#9It's similar to JSON Vs INI files for config files.
On a different note I wouldn't nest JSON in a CSV column. I'd delimit with a pipe or something the split string on that. Much simpler if you're in control of the data.
Re: Consider Using CSV
#10As much as I like and use CSV for database work, it has a problem with being poorly specified. The most common problems are when processing CSVs produced elsewhere which might not enclose text fields with quotes and thus have issues with data that includes commas and multi-line data.