summaryrefslogtreecommitdiff
path: root/libs/luci-lib-json/luasrc
Commit message (Collapse)AuthorAgeFilesLines
* luci-lib-json: support serializing userdataJo-Philipp Wich2018-05-181-1/+6
| | | | | | | | Fixes the following error when attempting to serialize userdata objects: .../json.lua:81: attempt to call local 'parser' (a nil value) Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* Fix module lines in several luadoc filesJo-Philipp Wich2015-09-011-1/+1
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* luci-lib-json: ignore null keys to allow encoding empty objectsMatthias Schiffer2015-06-041-5/+7
| | | | | | | | | | | 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>
* Move inline documentation into separate files.Jo-Philipp Wich2015-01-292-35/+94
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* Update my email addresses in the license headersJo-Philipp Wich2015-01-161-1/+1
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* Globally reduce copyright headersJo-Philipp Wich2015-01-161-40/+3
| | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
* Rework LuCI build systemJo-Philipp Wich2015-01-081-0/+600
* Rename subdirectories to their repective OpenWrt package names * Make each LuCI module its own standalone package * Deploy a shared luci.mk which is used by each module Makefile Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>