Description
This example throws invalid_json (as it should, <<169>> is not a valid UTF-8 byte sequence)
1> couch_util:json_decode(<<$", "abc", 169, $">>).
-
- exception throw:
{invalid_json,<<"\"abc©\"">>}
in function couch_util:json_decode/1
- exception throw:
{invalid_json,<<"\"abc©\"">>}
but this example does not
2> couch_util:json_decode(<<$", "abc
n", 169, $">>).
<<"abc\n©">>