Package Details: lua53-cjson 2.1.0.14-2

Git Clone URL: https://aur.archlinux.org/lua-cjson.git (read-only, click to copy)
Package Base: lua-cjson
Description: A fast JSON parsing and encoding support for Lua.
Upstream URL: https://github.com/openresty/lua-cjson
Licenses: MIT
Submitter: speps
Maintainer: colophony
Last Packager: colophony
Votes: 15
Popularity: 0.000000
First Submitted: 2011-09-15 19:01 (UTC)
Last Updated: 2024-10-15 13:50 (UTC)

Dependencies (5)

Required by (1)

Sources (1)

Latest Comments

1 2 Next › Last »

micwoj92 commented on 2024-12-18 16:50 (UTC)

Yes for this.

$ json2lua
/usr/bin/json2lua: line 3: /usr/bin/lua5.4: No such file or directory

colophony commented on 2024-12-17 23:46 (UTC)

@micwoj92 Do you mean for json2lua/lua2json? In that case, maybe optdepends would be more fitting? Because as far as I can see the library itself doesn't depend on them.

micwoj92 commented on 2024-12-16 21:10 (UTC)

please add lua (and lua51,52,53 for other versions) to deps of these packages.

colophony commented on 2024-10-15 14:04 (UTC)

@jprjr Should work now, I went with the second suggestion.

jprjr commented on 2024-10-12 15:47 (UTC)

It looks like the subpackages all install json2lua and lua2json, so there's a conflict if I want to install all subpackages.

It may be worth either - removing /usr/bin from all subpackages except lua-cjson, or maybe in the other subpackages, rename json2lua and lua2json to something like json2lua-5.1, json2lua-5.2, etc.

kmarius commented on 2022-11-06 18:40 (UTC)

Upstream hasn't been updated in 6 years and the module can't even be loaded by lua5.1 or luajit. Would you please consider switching to the more current fork by OpenResty: https://github.com/openresty/lua-cjson, which is also the upstream for luarocks?

daurnimator commented on 2022-05-23 13:13 (UTC)

Would you consider updating to use luarocks to build the package?

zebreus commented on 2020-09-27 14:10 (UTC) (edited on 2020-09-27 14:11 (UTC) by zebreus)

Thanks for the quick update. Could you also create a lua53-cjson package for lua 5.3?

zopieux commented on 2020-09-24 23:54 (UTC)

Thanks @madmanfred, updated for Lua 5.4 in pkg rev 4. I also removed unused test files from the package, slightly reducing the final size.