THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.

Revision history  [back]

Looks like suriwire.lua could use dkjson:

local ok, json = pcall(require, "cjson")
if not ok then
    json = require("dkjson")
end

This project (ntop/nDPI/wireshark/tshark/lib/) includes dkjson.lua and has an example using it with a tshark Lua plugin.

tshark.lua:

local json = require "dkjson"

Looks like suriwire.lua could use dkjson:

local ok, json = pcall(require, "cjson")
if not ok then
    json = require("dkjson")
end

This project (ntop/nDPI/wireshark/tshark/lib/) includes dkjson.lua and has an example of using it dkjson with a tshark Lua plugin.

tshark.lua:

local json = require "dkjson"