Skip to content
jc-rs
GitHub

csv-ih

--csv-ihv1.0.0

CSV file parser without implicit header row

Universalfile
$ cat input.txt | jc-rs --csv-ih

A real pair

From the reference corpus (generic/csv_ih-jagged.json). The left pane is the input the fixture ships; the right pane is the corpus's expected JSON. CI compares jc-rs with it field by field under the published differential. Hover a value to see where it came from.

csv_ihgeneric
"The quick, brown fox", "jumps"
"The quick, brown fox", "jumps", "over the lazy"
"The quick, brown fox"

The quick, brown fox, jumps, over the lazy, dog
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
[
  {
    "c0": "The quick, brown fox",
    "c1": "jumps"
  },
  {
    "c0": "The quick, brown fox",
    "c1": "jumps",
    "c2": "over the lazy"
  },
  {
    "c0": "The quick, brown fox"
  },
  {
    "c0": "The quick",
    "c1": "brown fox",
    "c2": "jumps",
    "c3": "over the lazy",
    "c4": "dog"
  }
]

Fixture coverage

2/2oracle-valid pairs match under the published structural JSON comparison

Magic syntax

not availableThis parser reads a file or a string rather than a command, so there is nothing for jc-rs to run. Pipe it in.

Source: crates/jc-rs-parsers/src/format/csv_ih.rs. jc-rs targets the schemas defined by the original Python tool. Fixture coverage above is the measured evidence for this parser; test the inputs your pipeline depends on. Compare