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

2.3.5 - Fix JSON Character-Like-Type Input #130

Merged
merged 2 commits into from
Nov 25, 2024
Merged

Conversation

TheNitesWhoSay
Copy link
Owner

Before this fix for character-like-type JSON inputs a single character was being read then a separator was expected, this means an exception was always triggered for multi-character numbers (e.g. trying to input 120 for std::int8_t or such); after this fix an integer is read for the character like types (char, signed char, unsigned char, std::int8_t, std::uint8_t) and placed into the target (character-like) type.

@TheNitesWhoSay
Copy link
Owner Author

Fixes #128

@TheNitesWhoSay TheNitesWhoSay linked an issue Nov 25, 2024 that may be closed by this pull request
@TheNitesWhoSay TheNitesWhoSay added the bug Something isn't working label Nov 25, 2024
@TheNitesWhoSay TheNitesWhoSay self-assigned this Nov 25, 2024
@TheNitesWhoSay TheNitesWhoSay merged commit 73e5d47 into master Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error parsing JSON
1 participant