unifies options to encoder/decoder to allow abstraction over various different built in iterators

This commit is contained in:
alisdair sullivan 2011-07-21 06:14:48 -07:00
parent c743debc6d
commit 3bf5506292
4 changed files with 16 additions and 11 deletions

View file

@ -32,8 +32,8 @@
-type jsx_decoder_opts() :: [jsx_decoder_opt()].
-type jsx_decoder_opt() :: {escaped_unicode, ascii | codepoint | none}
-type jsx_opts() :: [jsx_opt()].
-type jsx_opt() :: {escaped_unicode, ascii | codepoint | none}
| {multi_term, true | false}
| {encoding, auto
| utf8