Thijs Schreijer
Thijs Schreijer
just ran into this library while searching for multi level caches. We're having a slightly different use case (db lookup) so even shm lookups can be considered fast. Anyway, for...
@alerque this line: https://github.com/lunarmodules/luasocket/blob/e3ca4a767a68d127df548d82669aba3689bd84f4/luasocket-scm-3.rockspec#L37 seems to be the culprit. Do you recall why it was commented out?
Yes, I need this as well, as currently the `lua-resty-ljsonschema` library which depends on `lua-cjson` will install an outdated version on an up-to-date OpenResty system.
Great to see #84 by @hishamhm was merged. So all that's left is a new release and upload to LuaRocks. Anything we can do to facilitate @zhuizhuhaomeng ?
@zhuizhuhaomeng there is little to it, ensure you have Luarocks installed, and have the Apikey handy, then from the repo do: luarocks upload lua-cjson-2.1.0.14-1.rockspec --api-key=
There are also github actions that can automate this process, see https://github.com/lunarmodules/busted/blob/master/.github/workflows/deploy.yml
@zhuizhuhaomeng any update on this? anything you need?
@hishamhm can you provide @zhuizhuhaomeng with the email address of the OpenResty LuaRocks account?
@zhuizhuhaomeng any update on this?
I think it would make more sense to make the "null" value settable. That way it can also be replaced by other values.