Replies: 1 comment
-
|
A list of exceptions can be found here: https://json.nlohmann.me/home/exceptions/ Parse errors always contain the last read token. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
This is nothing of severe importance, but I'd like to log parsing errors that might happen with credentials I am storing in the system keystore. This will likely never happen in practice, since the JSON is created by my program itself, but I wondered how much of the JSON contents could be leaked through JSON parser exception messages, since some of the contents will be shown to indicate where the error occurs, e.g.
Are there cases where more of the contents are leaked? Checking myself isn't really worth the time for this niche case in my code, but maybe someone else is knowledgeable about the code base, this is something that is already handled or this is something that maybe could use some attention.
Anyhow, thanks for any insights!
Beta Was this translation helpful? Give feedback.
All reactions