Jan-Philipp Litza e32a877aa4 luci-lib-jsonc: Ignore non-string-or-number keys in tables
Previously, the following caused a segmentation fault:

    json.stringify({[{}] = true})

This was caused by lua_tostring() returning NULL for anything but
strings and numbers, letting json_object_object_add crash.

This patch makes jsonc ignore all keys which have no string
representation altogether.

Signed-off-by: Jan-Philipp Litza <janphilipp@litza.de>
2015-08-30 15:51:17 +02:00
2015-05-17 17:06:43 +02:00
2015-04-20 10:08:23 +02:00
2008-11-19 23:02:36 +00:00
2014-06-11 13:29:05 +00:00

OpenWrt luci feed

Description

This is the OpenWrt "luci"-feed containing LuCI - OpenWrt Configuration Interface.

Usage

This feed is enabled by default. Your feeds.conf.default (or feeds.conf) should contain a line like:

src-git luci https://github.com/openwrt/luci.git

To install all its package definitions, run:

./scripts/feeds update luci
./scripts/feeds install -a -p luci

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.

S
Description
LuCI - OpenWrt Configuration Interface
Readme Apache-2.0
554 MiB
Languages
JavaScript 70.4%
C 12.4%
Lua 5.8%
CSS 3.6%
UnrealScript 3%
Other 4.7%