add experimental consult/1,2 function that consults a file

containing zero or more json terms and returns them in a list
This commit is contained in:
alisdair sullivan 2015-01-25 21:44:15 -08:00
parent d4d838d4f4
commit 72c92bae0d
5 changed files with 119 additions and 2 deletions

View file

@ -1,8 +1,8 @@
-record(config, {
dirty_strings = false :: boolean(),
escaped_forward_slashes = false :: boolean(),
escaped_strings = false :: boolean(),
unescaped_jsonp = false :: boolean(),
dirty_strings = false :: boolean(),
multi_term = false :: boolean(),
strict_comments = false :: boolean(),
strict_commas = false :: boolean(),
strict_utf8 = false :: boolean(),
@ -10,6 +10,7 @@
strict_escapes = false :: boolean(),
stream = false :: boolean(),
uescape = false :: boolean(),
unescaped_jsonp = false :: boolean(),
error_handler = false :: false | jsx_config:handler(),
incomplete_handler = false :: false | jsx_config:handler()
}).