Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add json-bigint to parse big activitypub_id #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lesion
Copy link

@lesion lesion commented Jul 3, 2019

the largest number Javascript can represent is 2^53 while
activitypub_id in mastodon could reach 2^64

waiting for a better BigInt support in javascript (see https://github.com/tc39/proposal-bigint)
I'm using json-bigint to parse JSON and correctly retrieve activitypub_id

the largest number Javascript can represent is 2^53 while
activitypub_id in mastodon could reach 2^64

waiting for a better BigInt support in javascript (see https://github.com/tc39/proposal-bigint)
I'm using json-bigint to parse JSON and correctly retrieve
activitypub_id
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant