Skip to content

Replace NaN with null in exported JSON - #2432

Merged
ewels merged 3 commits into
mainfrom
json-nan
Mar 14, 2024
Merged

ewels merged 3 commits into
mainfrom
json-nan

Conversation

@vladsavelyev

@vladsavelyev vladsavelyev commented Mar 8, 2024 •

Copy link
Copy Markdown
Contributor

Replace NaN values with nulls in JSON dumps to fix #1509

@vladsavelyev vladsavelyev added the awaits-review Awaiting final review and merge. label Mar 8, 2024

@ewels ewels left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@ewels ewels changed the title Replace NaN with null in JSON dumps Replace NaN with null in exported JSON Mar 14, 2024
@ewels

ewels commented Mar 14, 2024

Copy link
Copy Markdown
Member

Love the recursive function call btw 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaits-review Awaiting final review and merge. core: back end

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NaN value in JSON output

2 participants