jsonaf icon indicating copy to clipboard operation
jsonaf copied to clipboard

Confusing parse errors for partial arrays

Open dpatti opened this issue 7 years ago • 0 comments

This code:

Jsonaf.of_string "[0, 1, 2}"

produces a result with error: "json > ]: satisfy", which is cryptic. I would expect something more along the lines of "expected ], saw }".

dpatti avatar Jan 31 '18 15:01 dpatti