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

Don't attempt to include non-finite numbers in JSON #4837

Merged
merged 2 commits into from
Oct 19, 2023

Conversation

labkey-tchad
Copy link
Member

Rationale

When constructing a Map that will be converted to a JSONObject, one might need to pre-emptively replace any non-finite numbers with something compatible with JSON

Related Pull Requests

Changes

  • Make JsonUtil.translateNumber public

@labkey-tchad labkey-tchad merged commit 3f62660 into develop Oct 19, 2023
1 check passed
@labkey-tchad labkey-tchad deleted the fb_nabPropertiesJson branch October 19, 2023 16:26
@labkey-willm labkey-willm mentioned this pull request Oct 20, 2023
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.

2 participants