Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add line/column number to syntax errors #69

Open
mark-pictor-csec opened this issue Feb 23, 2024 · 0 comments
Open

add line/column number to syntax errors #69

mark-pictor-csec opened this issue Feb 23, 2024 · 0 comments

Comments

@mark-pictor-csec
Copy link

I can use other tools to track down an error, but it'd be nice if jd could provide the location itself.

compare jd's behavior with a bad file with that of jq:

$ jd defsck_p.json defsck_f.json           
2024/02/23 15:32:17 invalid character '(' in string escape code

$ jq <defsck_p.json 
parse error: Invalid escape at line 49883, column 1295
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant