Skip to content

Output more detailed JSON errors

Warren Gifford requested to merge aharvey/detailed-json-errors into main

Created by: LawnGnome

This requires sourcegraph/jsonx#8, which we'd have to decide we wanted and approve before this could be merged.

Right now, if you load an invalid JSON file into src-cli, the error message is pretty rough:

image

Instead, wouldn't it be nice if we could point out the actual error(s):

image

That's what this PR (and sourcegraph/jsonx#8) enables.

Merge request reports

Loading