summaryrefslogtreecommitdiffhomepage
path: root/documentation/api/modules/luci.jsonc.parser.html
AgeCommit message (Collapse)Author
2015-09-04luci-lib-jsonc: Add ltn12-compatible sink factoryJan-Philipp Litza
To use the luci-lib-jsonc parser as sink for an ltn12 pump (for example from stdin), the following code will now do: require 'luci.ltn12' require 'luci.jsonc' local parser = luci.jsonc.new() luci.ltn12.pump.all(luci.ltn12.source.file(io.input()), parser:sink()) print(parser:get()) Signed-off-by: Jan-Philipp Litza <janphilipp@litza.de>
2015-09-01Regenerate api documentationJo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-09-01Move doc/ to documentation/api/Jo-Philipp Wich
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>