tightened up options allowed
This commit is contained in:
parent
38aef5f383
commit
e245d8aa92
2 changed files with 12 additions and 7 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue