From 5ba22dae597b9d154ca0a82f71cfbd8d8a6325db Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Sat, 30 Oct 2021 13:57:36 -0700 Subject: [PATCH] add JSON lines info --- docs/parsers/csv_s.md | 2 ++ jc/parsers/csv_s.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/docs/parsers/csv_s.md b/docs/parsers/csv_s.md index 32cb7116..983563b5 100644 --- a/docs/parsers/csv_s.md +++ b/docs/parsers/csv_s.md @@ -3,6 +3,8 @@ # jc.parsers.csv_s jc - JSON CLI output utility `csv` file streaming parser +> This streaming parser outputs JSON Lines + The `csv` streaming parser will attempt to automatically detect the delimiter character. If the delimiter cannot be detected it will default to comma. The first row of the file must be a header row. Note: The first 100 rows are read into memory to enable delimiter detection, then the rest of the rows are loaded lazily. diff --git a/jc/parsers/csv_s.py b/jc/parsers/csv_s.py index f4a661b7..acde6825 100644 --- a/jc/parsers/csv_s.py +++ b/jc/parsers/csv_s.py @@ -1,5 +1,7 @@ """jc - JSON CLI output utility `csv` file streaming parser +> This streaming parser outputs JSON Lines + The `csv` streaming parser will attempt to automatically detect the delimiter character. If the delimiter cannot be detected it will default to comma. The first row of the file must be a header row. Note: The first 100 rows are read into memory to enable delimiter detection, then the rest of the rows are loaded lazily.