nftables 0.6.3

Safe abstraction for nftables JSON API. It can be used to create nftables rulesets in Rust and parse existing nftables rulesets from JSON.
Documentation
{
  "nftables": [
    {
      "metainfo": {
        "version": "1.0.9",
        "release_name": "Old Doc Yak #3",
        "json_schema_version": 1
      }
    },
    {
      "table": {
        "family": "inet",
        "name": "filter",
        "handle": 1
      }
    },
    {
      "chain": {
        "family": "inet",
        "table": "filter",
        "name": "tproxy_ipv4",
        "handle": 1
      }
    },
    {
      "chain": {
        "family": "inet",
        "table": "filter",
        "name": "tproxy_ipv6",
        "handle": 2
      }
    },
    {
      "rule": {
        "family": "inet",
        "table": "filter",
        "chain": "tproxy_ipv4",
        "handle": 3,
        "expr": [
          {
            "match": {
              "op": "==",
              "left": {
                "meta": {
                  "key": "l4proto"
                }
              },
              "right": "tcp"
            }
          },
          {
            "tproxy": {
              "family": "ip",
              "addr": "127.0.0.1",
              "port": 12345
            }
          }
        ]
      }
    },
    {
      "rule": {
        "family": "inet",
        "table": "filter",
        "chain": "tproxy_ipv4",
        "handle": 4,
        "expr": [
          {
            "match": {
              "op": "==",
              "left": {
                "meta": {
                  "key": "l4proto"
                }
              },
              "right": "tcp"
            }
          },
          {
            "tproxy": {
              "family": "ip",
              "port": 12345
            }
          }
        ]
      }
    },
    {
      "rule": {
        "family": "inet",
        "table": "filter",
        "chain": "tproxy_ipv6",
        "handle": 5,
        "expr": [
          {
            "match": {
              "op": "==",
              "left": {
                "meta": {
                  "key": "l4proto"
                }
              },
              "right": "tcp"
            }
          },
          {
            "tproxy": {
              "family": "ip6",
              "addr": "::1",
              "port": 12345
            }
          }
        ]
      }
    },
    {
      "rule": {
        "family": "inet",
        "table": "filter",
        "chain": "tproxy_ipv6",
        "handle": 6,
        "expr": [
          {
            "match": {
              "op": "==",
              "left": {
                "meta": {
                  "key": "l4proto"
                }
              },
              "right": "tcp"
            }
          },
          {
            "tproxy": {
              "family": "ip6",
              "port": 12345
            }
          }
        ]
      }
    }
  ]
}