prevent json objects with repeated keys from being emitted from the
parser
This commit is contained in:
parent
4df8e5092a
commit
4ad9c38cb9
3 changed files with 98 additions and 77 deletions
|
@ -103,7 +103,7 @@ custom_error_handler_test_() ->
|
|||
parser(self(), [{error_handler, Error}])
|
||||
)},
|
||||
{"string error", ?_assertEqual(
|
||||
{string, [{string, <<239, 191, 191>>}]},
|
||||
{value, [{string, <<239, 191, 191>>}]},
|
||||
parser(<<239, 191, 191>>, [{error_handler, Error}, strict])
|
||||
)}
|
||||
].
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue