updated specs with new unquoted keys opts
This commit is contained in:
parent
52511d24c1
commit
76d84e1ef2
1 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,7 @@
|
||||||
-type jsx_opts() :: [jsx_opt()].
|
-type jsx_opts() :: [jsx_opt()].
|
||||||
-type jsx_opt() :: {comments, true | false}
|
-type jsx_opt() :: {comments, true | false}
|
||||||
| {escaped_unicode, ascii | codepoint | none}
|
| {escaped_unicode, ascii | codepoint | none}
|
||||||
|
| {unquoted_keys, true | false}
|
||||||
| {multi_term, true | false}
|
| {multi_term, true | false}
|
||||||
| {encoding, auto
|
| {encoding, auto
|
||||||
| utf8
|
| utf8
|
||||||
|
@ -109,6 +110,7 @@
|
||||||
-type decoder_opts() :: [decoder_opt()].
|
-type decoder_opts() :: [decoder_opt()].
|
||||||
-type decoder_opt() :: {strict, true | false}
|
-type decoder_opt() :: {strict, true | false}
|
||||||
| {comments, true | false}
|
| {comments, true | false}
|
||||||
|
| {unquoted_keys, true | false}
|
||||||
| {encoding, supported_utf()}
|
| {encoding, supported_utf()}
|
||||||
| {label, atom | binary | existing_atom}
|
| {label, atom | binary | existing_atom}
|
||||||
| {float, true | false}.
|
| {float, true | false}.
|
||||||
|
@ -117,12 +119,14 @@
|
||||||
-type verify_opts() :: [verify_opt()].
|
-type verify_opts() :: [verify_opt()].
|
||||||
-type verify_opt() :: {strict, true | false}
|
-type verify_opt() :: {strict, true | false}
|
||||||
| {encoding, auto | supported_utf()}
|
| {encoding, auto | supported_utf()}
|
||||||
|
| {unquoted_keys, true | false}
|
||||||
| {comments, true | false}.
|
| {comments, true | false}.
|
||||||
|
|
||||||
|
|
||||||
-type format_opts() :: [format_opt()].
|
-type format_opts() :: [format_opt()].
|
||||||
-type format_opt() :: {strict, true | false}
|
-type format_opt() :: {strict, true | false}
|
||||||
| {encoding, auto | supported_utf()}
|
| {encoding, auto | supported_utf()}
|
||||||
|
| {unquoted_keys, true | false}
|
||||||
| {comments, true | false}
|
| {comments, true | false}
|
||||||
| {space, integer()}
|
| {space, integer()}
|
||||||
| space
|
| space
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue