Skip to content

Get the line number of the key #3949

Answered by nlohmann
zh1an asked this question in Q&A
Discussion options

You must be logged in to vote

No, this is not possible. Line numbers are only available during parsing to create diagnostics in case of an error, but discarded then.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zh1an
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants