Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-09-04 | luci-lib-jsonc: Add ltn12-compatible sink factory | Jan-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-01-28 | luci-lib-jsonc: add api documentation | Jo-Philipp Wich | |
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> |