Skip to content
jc-rs
GitHub

resolve-conf

--resolve-confv1.0.0

Converts `/etc/resolv.conf` file content to JSON

file
$ cat input.txt | jc-rs --resolve-conf

No worked example here

The reference corpus ships no fixture pair for this parser small enough to read on a page, so rather than invent one this page shows none. Run it against your own output.

Fixture coverage

noneThe reference corpus ships no oracle-valid fixture for this parser, so the differential cannot speak for it. That is reported, not hidden.

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/misc/resolve_conf.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