Mercurial Hosting > luan
comparison src/luan/modules/Parsers.luan @ 794:f16c77ef0f4f
add Parsers.json_string and Thread.global
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 05 Sep 2016 16:08:00 -0600 |
parents | 1a68fc55a80c |
children | bae2d0c2576c |
comparison
equal
deleted
inserted
replaced
793:60661a8e738c | 794:f16c77ef0f4f |
---|---|
7 local M = {} | 7 local M = {} |
8 | 8 |
9 M.bbcode_to_html = BBCode.toHtml | 9 M.bbcode_to_html = BBCode.toHtml |
10 M.bbcode_to_text = BBCode.toText | 10 M.bbcode_to_text = BBCode.toText |
11 M.csv_to_list = Csv.toList | 11 M.csv_to_list = Csv.toList |
12 M.json_parse = Json.parse | 12 M.json_parse = Json.parse -- converts json string to luan object |
13 M.json_string = Json.toString -- converts luan object to json string | |
13 M.theme_to_luan = Theme.toLuan | 14 M.theme_to_luan = Theme.toLuan |
14 | 15 |
15 return M | 16 return M |