Skip to content

Float nan values are generated in JSON #93

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.

Activity

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

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