summaryrefslogtreecommitdiff
path: root/libs/luci-lib-json
Commit message (Collapse)AuthorAgeFilesLines
* Revert "luci-lib-json: depend on luci-base"Jo-Philipp Wich2018-07-031-1/+1
| | | | This reverts commit 8ca29efec862350d8d621235999947c329dfaba7.
* luci-lib-json: depend on luci-baseJo-Philipp Wich2018-07-031-1/+1
| | | | | Fixes #506 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* 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>
* luci-lib-json: add license tagQuirin Hofstaetter2017-06-131-0/+2
| | | | Signed-off-by: Quirin Hofstaetter <qh@dev.tdt.de>
* 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-082-0/+614
* 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>