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

Json decode improvements #307

Merged
merged 4 commits into from
Aug 28, 2024
Merged

Json decode improvements #307

merged 4 commits into from
Aug 28, 2024

Conversation

msteveb
Copy link
Owner

@msteveb msteveb commented Aug 27, 2024

Better handling of invalid JSON
Preserve line numbers

To avoid invalid JSON causing core dumps.

Minor changes to the jsmn parser to still allow
Infinity and NaN.

Fix some tests that didn't use strictly correct JSON.

Signed-off-by: Steve Bennett <steveb@workware.net.au>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
@msteveb msteveb merged commit b73db5b into master Aug 28, 2024
4 of 5 checks passed
@msteveb msteveb deleted the json-decode-improvements branch August 28, 2024 01:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant