pub(crate) fn json_value_to_lua(lua: &Lua, value: &Value) -> LuaResult<LuaValue>
Convert a JSON value to a Lua value.