id
--idv1.4.0Converts `id` command output to JSON
LinuxmacOSFreeBSDcommand
$ id | jc-rs --idA real pair
From the reference corpus (centos-7.7/id.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.
idcentos-7.7
uid=1000(kbrazil) gid=1000(kbrazil) groups=1000(kbrazil),10(wheel) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
{ "uid": { "id": 1000, "name": "kbrazil" }, "gid": { "id": 1000, "name": "kbrazil" }, "groups": [ { "id": 1000, "name": "kbrazil" }, { "id": 10, "name": "wheel" } ], "context": { "user": "unconfined_u", "role": "unconfined_r", "type": "unconfined_t", "level": "s0-s0:c0.c1023" } }
Fixture coverage
2/2oracle-valid pairs match under the published structural JSON comparison
Magic syntax
jc-rs idjc-rs runs the command itself and parses what it prints. Recognised for: `id`Source: crates/jc-rs-parsers/src/system/id.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