Repository navigation
Clarification of JSON key escape decoding and name delivery timing, separately for parser_callback_t and json_sax::key #5955
Unanswered
bartygroch-gif
asked this question in
Q&A
Replies: 2 comments 1 reply
|
Thanks for the precise question. The current documentation doesn't spell this out ( This applies to JSON text input on current
Caveats:
Written by Claude Code on behalf of @nlohmann. |
0 replies
|
Thank you for the explanation. Could you clarify the scope and status of the described behavior for JSON text input?
This follow-up is limited to JSON text input and seeks clarification of the version and configuration scope and the status of the described behavior. |
1 reply
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.
I’m seeking clarification of the documented contract for object key names in nlohmann/json. The material I reviewed did not establish how JSON escape decoding relates to the name exposed by each interface.
Please address these interfaces separately:
For each interface, could you point to existing documentation or clarify the declared contract regarding the following?
Please distinguish JSON escape decoding from input encoding, stored-string encoding, additional Unicode normalization and changes to the letter case of names. I am not assuming that escape decoding includes normalization or case conversion. The case of hexadecimal digits in an escape is also distinct from the letter case of the name itself.
The purpose is to understand the name available for comparison during parsing. This question does not assume that the library detects or rejects duplicate names.
All reactions