Skip to content

Float nan values are generated in JSON #93

@PMunch

Description

@PMunch

Had an issue recently where NaN values from Nim got written to JSON as nan. According to the official JSON spec nan is not a valid value in JSON. Not quite sure what the actual behaviour here should be. I see that jq parses such JSON fine, but Nims parseJson fails.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions