Skip to content

Adding Support for the JSON BigInt Parsing - Update the JSON.parse to JSONBig.parse  #54

Closed
@amithaswar

Description

@amithaswar

https://www.npmjs.com/package/json-bigint
Having issues with showing the BigInt on the Json View. The value is getting converted to Float and then it is losing the precision for the last 3 digits making the last 3 digits as 000

{ "value" : 9223372036854775807}, for example, is still a valid RFC4627 JSON string, and in most JS runtimes the result of JSON.parse is this object: { value: 9223372036854776000 }

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