jsonx
jsonx copied to clipboard
no_match should point to erroneous tuple
If one tries to encode large proplist, it is difficult to find property with error because jsonx always points to first tuple: 3> jsonx:encode([{<<"b">>, false},{<<"a">>, 999999999999999999999999999999999999999999999999999}]). {no_match,{<<"b">>,false}}
Pointing to tuple with error makes error finding easier.