encoder updated to use same api as decoder, format and verify updated to be aware of new api
This commit is contained in:
parent
3485ca5413
commit
0c3cf2b87b
4 changed files with 144 additions and 136 deletions
|
@ -43,6 +43,8 @@ parse_opts([loose_unicode|Rest], Opts) ->
|
|||
parse_opts(Rest, Opts#opts{loose_unicode=true});
|
||||
parse_opts([iterate|Rest], Opts) ->
|
||||
parse_opts(Rest, Opts#opts{iterate=true});
|
||||
parse_opts([escape_forward_slash|Rest], Opts) ->
|
||||
parse_opts(Rest, Opts#opts{escape_forward_slash=true});
|
||||
parse_opts([{encoding, _}|Rest], Opts) ->
|
||||
parse_opts(Rest, Opts);
|
||||
parse_opts(_, _) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue