Skip to content

Support BigInteger #38

Description

@miniBill

If numbers in JSON are outside JS's safe range, they get silently converted to JS floats. The new reviver parameter to JSON.parse allows to parse to BigInteger.

The main issues are:

  • backwards compatibility (although it's been 10 years since it was baseline)
  • the need for a Json.Decode.bigInteger
  • in general, a way to let users use BigInteger - possibly making it a number, possibly not

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions