diff --git a/README.md b/README.md index 25ee58f8..adf49f5a 100644 --- a/README.md +++ b/README.md @@ -1379,4 +1379,4 @@ cat istio.yaml | jc -p --yaml ] ``` -© 2019-2024 Kelly Brazil \ No newline at end of file +© 2019-2025 Kelly Brazil \ No newline at end of file diff --git a/docs/parsers/bluetoothctl.md b/docs/parsers/bluetoothctl.md index fc82d38b..428493f8 100644 --- a/docs/parsers/bluetoothctl.md +++ b/docs/parsers/bluetoothctl.md @@ -136,4 +136,4 @@ Compatibility: linux Source: [`jc/parsers/bluetoothctl.py`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/bluetoothctl.py) -Version 1.3 by Jake Ob (iakopap at gmail.com) +Version 1.4 by Jake Ob (iakopap at gmail.com) diff --git a/docs/parsers/iptables.md b/docs/parsers/iptables.md index 8c41a330..b1ea0ad9 100644 --- a/docs/parsers/iptables.md +++ b/docs/parsers/iptables.md @@ -25,6 +25,9 @@ Schema: [ { "chain": string, + "default_policy": string, + "default_packets": integer, + "default_bytes": integer, "rules": [ { "num" integer, @@ -49,6 +52,9 @@ Examples: [ { "chain": "PREROUTING", + "default_policy": "DROP", + "default_packets": 0, + "default_bytes": 0, "rules": [ { "num": 1, @@ -108,6 +114,9 @@ Examples: [ { "chain": "PREROUTING", + "default_policy": "DROP", + "default_packets": "0", + "default_bytes": "0", "rules": [ { "num": "1", @@ -188,4 +197,4 @@ Compatibility: linux Source: [`jc/parsers/iptables.py`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/iptables.py) -Version 1.11 by Kelly Brazil (kellyjonbrazil@gmail.com) +Version 1.12 by Kelly Brazil (kellyjonbrazil@gmail.com) diff --git a/docs/parsers/lsblk.md b/docs/parsers/lsblk.md index 6b128150..2fcebda2 100644 --- a/docs/parsers/lsblk.md +++ b/docs/parsers/lsblk.md @@ -22,46 +22,53 @@ Schema: [ { - "name": string, - "maj_min": string, - "rm": boolean, - "size": string, - "ro": boolean, - "type": string, - "mountpoint": string, - "kname": string, - "fstype": string, - "label": string, - "uuid": string, - "partlabel": string, - "partuuid": string, - "ra": integer, - "model": string, - "serial": string, - "state": string, - "owner": string, - "group": string, - "mode": string, - "alignment": integer, - "min_io": integer, - "opt_io": integer, - "phy_sec": integer, - "log_sec": integer, - "rota": boolean, - "sched": string, - "rq_size": integer, - "disc_aln": integer, - "disc_gran": string, - "disc_max": string, - "disc_zero": boolean, - "wsame": string, - "wwn": string, - "rand": boolean, - "pkname": string, - "hctl": string, - "tran": string, - "rev": string, - "vendor": string + "name": string, + "maj_min": string, + "rm": boolean, + "size": string, + "size_bytes": integer + "ro": boolean, + "type": string, + "mountpoint": string, + "mountpoints": [ + string + ], + "kname": string, + "fstype": string, + "label": string, + "uuid": string, + "partlabel": string, + "partuuid": string, + "ra": integer, + "model": string, + "serial": string, + "state": string, + "owner": string, + "group": string, + "mode": string, + "alignment": integer, + "min_io": integer, + "opt_io": integer, + "phy_sec": integer, + "log_sec": integer, + "rota": boolean, + "sched": string, + "rq_size": integer, + "disc_aln": integer, + "disc_gran": string, + "disc_gran_bytes": integer, + "disc_max": string, + "disc_max_bytes": integer, + "disc_zero": boolean, + "wsame": string, + "wsame_bytes": integer, + "wwn": string, + "rand": boolean, + "pkname": string, + "hctl": string, + "tran": string, + "rev": string, + "vendor": string } ] @@ -74,6 +81,7 @@ Examples: "maj_min": "8:0", "rm": false, "size": "20G", + "size_bytes": 20000000000, "ro": false, "type": "disk", "mountpoint": null @@ -83,6 +91,7 @@ Examples: "maj_min": "8:1", "rm": false, "size": "1G", + "size_bytes": 1000000000 "ro": false, "type": "part", "mountpoint": "/boot" @@ -100,6 +109,7 @@ Examples: "maj_min": "8:0", "rm": false, "size": "20G", + "size_bytes": 20000000000, "ro": false, "type": "disk", "mountpoint": null, @@ -126,9 +136,12 @@ Examples: "rq_size": 128, "disc_aln": 0, "disc_gran": "0B", + "disc_gran_bytes": 0, "disc_max": "0B", + "disc_max_bytes": 0, "disc_zero": false, "wsame": "32M", + "wsame_bytes": 32000000, "wwn": null, "rand": true, "pkname": null, @@ -142,6 +155,7 @@ Examples: "maj_min": "8:1", "rm": false, "size": "1G", + "size_bytes": 1000000000 "ro": false, "type": "part", "mountpoint": "/boot", @@ -168,9 +182,12 @@ Examples: "rq_size": 128, "disc_aln": 0, "disc_gran": "0B", + "disc_gran_bytes": 0, "disc_max": "0B", + "disc_max_bytes": 0, "disc_zero": false, "wsame": "32M", + "wsame_bytes": 32000000, "wwn": null, "rand": true, "pkname": "sda", @@ -192,6 +209,7 @@ Examples: "maj_min": "8:0", "rm": "0", "size": "20G", + "size_bytes": 20000000000, "ro": "0", "type": "disk", "mountpoint": null, @@ -218,9 +236,12 @@ Examples: "rq_size": "128", "disc_aln": "0", "disc_gran": "0B", + "disc_gran_bytes": 0, "disc_max": "0B", + "disc_max_bytes": 0, "disc_zero": "0", "wsame": "32M", + "wsame_bytes": 32000000, "wwn": null, "rand": "1", "pkname": null, @@ -234,6 +255,7 @@ Examples: "maj_min": "8:1", "rm": "0", "size": "1G", + "size_bytes": 1000000000 "ro": "0", "type": "part", "mountpoint": "/boot", @@ -260,9 +282,12 @@ Examples: "rq_size": "128", "disc_aln": "0", "disc_gran": "0B", + "disc_gran_bytes": 0, "disc_max": "0B", + "disc_max_bytes": 0, "disc_zero": "0", "wsame": "32M", + "wsame_bytes": 32000000, "wwn": null, "rand": "1", "pkname": "sda", @@ -299,4 +324,4 @@ Compatibility: linux Source: [`jc/parsers/lsblk.py`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/lsblk.py) -Version 1.9 by Kelly Brazil (kellyjonbrazil@gmail.com) +Version 1.10 by Kelly Brazil (kellyjonbrazil@gmail.com) diff --git a/docs/parsers/mount.md b/docs/parsers/mount.md index fd61b63d..803c735b 100644 --- a/docs/parsers/mount.md +++ b/docs/parsers/mount.md @@ -100,4 +100,4 @@ Compatibility: linux, darwin, freebsd, aix Source: [`jc/parsers/mount.py`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/mount.py) -Version 1.10 by Kelly Brazil (kellyjonbrazil@gmail.com) +Version 1.11 by Kelly Brazil (kellyjonbrazil@gmail.com) diff --git a/docs/parsers/nmcli.md b/docs/parsers/nmcli.md index 6473b2d7..4df779a1 100644 --- a/docs/parsers/nmcli.md +++ b/docs/parsers/nmcli.md @@ -41,6 +41,7 @@ These are documented below. [ { "": string/integer/float, # [0] + "team_config": object, "dhcp4_option_x": { "name": string, "value": string/integer/float, @@ -170,4 +171,4 @@ Compatibility: linux Source: [`jc/parsers/nmcli.py`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/nmcli.py) -Version 1.0 by Kelly Brazil (kellyjonbrazil@gmail.com) +Version 1.1 by Kelly Brazil (kellyjonbrazil@gmail.com) diff --git a/docs/parsers/time.md b/docs/parsers/time.md index 1e2c3b43..8ea33f10 100644 --- a/docs/parsers/time.md +++ b/docs/parsers/time.md @@ -157,4 +157,4 @@ Compatibility: linux, darwin, cygwin, aix, freebsd Source: [`jc/parsers/time.py`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/time.py) -Version 1.4 by Kelly Brazil (kellyjonbrazil@gmail.com) +Version 1.5 by Kelly Brazil (kellyjonbrazil@gmail.com) diff --git a/docs/parsers/x509_cert.md b/docs/parsers/x509_cert.md index a9d23725..d9e303d3 100644 --- a/docs/parsers/x509_cert.md +++ b/docs/parsers/x509_cert.md @@ -435,4 +435,4 @@ Compatibility: linux, darwin, cygwin, win32, aix, freebsd Source: [`jc/parsers/x509_cert.py`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/x509_cert.py) -Version 1.3 by Kelly Brazil (kellyjonbrazil@gmail.com) +Version 1.4 by Kelly Brazil (kellyjonbrazil@gmail.com) diff --git a/man/jc.1 b/man/jc.1 index 62698bbb..48ea6f49 100644 --- a/man/jc.1 +++ b/man/jc.1 @@ -1,4 +1,4 @@ -.TH jc 1 2024-12-20 1.25.5 "JSON Convert" +.TH jc 1 2025-05-10 1.25.5 "JSON Convert" .SH NAME \fBjc\fP \- JSON Convert JSONifies the output of many CLI tools, file-types, and strings @@ -1637,6 +1637,6 @@ Kelly Brazil (kellyjonbrazil@gmail.com) https://github.com/kellyjonbrazil/jc .SH COPYRIGHT -Copyright (c) 2019-2024 Kelly Brazil +Copyright (c) 2019-2025 Kelly Brazil License: MIT License \ No newline at end of file