-
There is a way to get the line number of the key? such as: {
"test": 1
} the line of |
Beta Was this translation helpful? Give feedback.
Answered by
nlohmann
Feb 21, 2023
Replies: 1 comment
-
No, this is not possible. Line numbers are only available during parsing to create diagnostics in case of an error, but discarded then. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zh1an
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No, this is not possible. Line numbers are only available during parsing to create diagnostics in case of an error, but discarded then.