swapon
--swaponv1.0.0Converts `swapon` command output to JSON
Linuxcommandslurpable
$ swapon | jc-rs --swaponA real pair
From the reference corpus (generic/swapon-all-v2.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.
swapongeneric
NAME TYPE SIZE USED PRIO UUID LABEL /swapfile file 1024M 512K -2
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
[ { "name": "/swapfile", "type": "file", "size": 1073741824, "used": 524288, "priority": -2 } ]
Fixture coverage
2/2oracle-valid pairs match under the published structural JSON comparison
Magic syntax
jc-rs swaponjc-rs runs the command itself and parses what it prints. Recognised for: `swapon`Source: crates/jc-rs-parsers/src/disk/swapon.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