netlistsvg icon indicating copy to clipboard operation
netlistsvg copied to clipboard

JSON Schema validation doesn't indicate line number

Open nturley opened this issue 5 years ago • 2 comments

related to #11 and #16. JSON5 doesn't currently have a way to determine where in the file a particular JSON element is, so we cannot indicate what line a schema failure occurred.

I posted a PR to JSON5 to enable that functionality here: https://github.com/json5/json5/pull/195

nturley avatar Apr 07 '19 06:04 nturley

if they don't respond to the PR, as it gets close to the deadline for milestone 1, I may create a json5-source-map package that is mostly a fork of JSON5.

nturley avatar Apr 10 '19 01:04 nturley

I'm going to assign this to 1.1. This is a nice-to-have, but not vital.

nturley avatar Apr 20 '19 02:04 nturley