diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-10-27 21:19:11 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-10-27 21:19:11 +0000 |
| commit | 4e2fa78ea36ec2cf6583bc025b4127c5ea238fd2 (patch) | |
| tree | 776471e6ddbb557aac5a48779cb813f63c28b4d5 /doc/lua_api.md | |
| parent | 15b8b407ee0ee485e82a9de35932da2053f2c390 (diff) | |
Notes
Diffstat (limited to 'doc/lua_api.md')
| -rw-r--r-- | doc/lua_api.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lua_api.md b/doc/lua_api.md index a53353b3c57e..f7af3caffff4 100644 --- a/doc/lua_api.md +++ b/doc/lua_api.md @@ -16,7 +16,7 @@ if not res then else local obj = parser:get_object() local got = ucl.to_format(obj, 'json') -endif +end local table = { str = 'value', @@ -25,6 +25,7 @@ local table = { func = function () return 'huh' end +} print(ucl.to_format(table, 'ucl')) @@ -115,6 +116,7 @@ local table = { func = function () return 'huh' end +} print(ucl.to_format(table, 'ucl')) |
