luci-lib-json: support serializing userdata
Fixes the following error when attempting to serialize userdata objects:
.../json.lua:81: attempt to call local 'parser' (a nil value)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
parent
364c271a
Please register or sign in to comment