fresh api. virtually whole new thing, entirely new interface and heavily modified encoder/decoder
This commit is contained in:
parent
9c5710b97c
commit
200fb231a9
11 changed files with 559 additions and 289 deletions
|
@ -39,6 +39,8 @@ parse_opts([loose_unicode|Rest], Opts) ->
|
|||
parse_opts(Rest, Opts#opts{loose_unicode=true});
|
||||
parse_opts([escape_forward_slash|Rest], Opts) ->
|
||||
parse_opts(Rest, Opts#opts{escape_forward_slash=true});
|
||||
parse_opts([explicit_end|Rest], Opts) ->
|
||||
parse_opts(Rest, Opts#opts{explicit_end=true});
|
||||
parse_opts(_, _) ->
|
||||
{error, badarg}.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue