luci/libs
Matthias Schiffer 304eec2eba luci-lib-json: ignore null keys to allow encoding empty objects
There is currently no way to encode an empty object {}, as empty tables are
encoded as empty lists [].

With this patch, encode() will ignore table fields with the key json.null (which
doesn't make sense anyways). This allows adding a field with key json.null to
force encoding it as an object.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2015-06-04 21:13:41 +02:00
..
luci-lib-httpclient add params support in options 2015-01-22 13:12:48 +08:00
luci-lib-ip luci-lib-ip: add api documentation 2015-01-28 22:31:14 +01:00
luci-lib-json luci-lib-json: ignore null keys to allow encoding empty objects 2015-06-04 21:13:41 +02:00
luci-lib-jsonc luci-lib-jsonc: add api documentation 2015-01-28 22:31:28 +01:00
luci-lib-luaneightbl luci-lib-luaneightbl: add src Makefile and fix dependencies (#282) 2015-01-09 13:04:01 +01:00
luci-lib-nixio luci-lib-nixio: move CHANGELOG and README into nixio namespace 2015-01-28 22:29:45 +01:00
luci-lib-px5g luci-lib-px5g: disable MIPS16 2015-01-15 11:12:11 +01:00
luci-lib-rpcc Move inline documentation into separate files. 2015-01-29 16:26:46 +01:00