diff options
author | Phil Sutter <phil@nwl.cc> | 2018-05-08 13:08:38 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2018-05-11 12:17:02 +0200 |
commit | 586ad210368b775c94acbad2b105483eaf4ca05a (patch) | |
tree | 2d6204f59b8d9f7ed7ebed8492739b5e79ec4e0d /src/json.c | |
parent | e70354f53e9f6be4a4be31dbc46c5e23291d3587 (diff) |
libnftables: Implement JSON parser
If JSON output setting is active in current context, try parsing any
input as JSON. If the initial loading of the buffer or filename by
libjansson fails, fall back to regular syntax parser.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/json.c')
0 files changed, 0 insertions, 0 deletions