tightened up options allowed

This commit is contained in:
alisdair sullivan 2010-06-09 06:21:03 -07:00
parent 38aef5f383
commit e245d8aa92
2 changed files with 12 additions and 7 deletions

View file

@ -27,6 +27,13 @@
-type json() :: binary().
-type jsx_opts() :: [jsx_opt()].
-type jsx_opt() :: {comments, true | false}
| {escaped_unicode, ascii | codepoint | none}
| {stream_mode, true | false}
| {encoding, auto | utf8 | utf16 | utf16le | utf32 | utf32le }.
%% events emitted by the parser and component types
-type unicode_codepoint() :: 0..16#10ffff.