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

Capturing Line and Position when querying #1800

Closed
mjcrawford22 opened this issue Oct 17, 2019 · 1 comment
Closed

Capturing Line and Position when querying #1800

mjcrawford22 opened this issue Oct 17, 2019 · 1 comment
Labels
kind: question solution: wontfix the issue will not be fixed (either it is impossible or deemed out of scope)

Comments

@mjcrawford22
Copy link

I am using the pboettch/json-schema-library for validation. When an error is found it does not print the line and position where the anomaly was found. While line and position are printed when anomalies are found when reading the JSON string in your library, are the line and character position stored afterwards so the validator error message can include this information? I have not found this looking at the documentation. If it is there, how would the information be accessed?

We will need this on Linux, Windows and Mac. I am using version 3.7.0.

@nlohmann
Copy link
Owner

This information cannot be accessed after parsing.

@nlohmann nlohmann added the solution: wontfix the issue will not be fixed (either it is impossible or deemed out of scope) label Nov 2, 2019
@nlohmann nlohmann closed this as completed Nov 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: question solution: wontfix the issue will not be fixed (either it is impossible or deemed out of scope)
Projects
None yet
Development

No branches or pull requests

2 participants