facebook / facebook/folly

Can folly parse unsigned int numbers?

Open
#2,347 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
30.5k
Forks
5.9k
PR merge metrics
No merged PRs in 30d

Description

The json I am parsing on the parser, gives overflow error as it cannot parse 2^64 numbers. It can only parse till 2^63. How to deal with large numbers?

Contributor guide

Open the contributing guide

Research direction

Start by locating folly's JSON parser and the numeric overflow handling, then reproduce the issue with an unsigned 2^64 value. Done means establishing whether unsigned 64-bit values are supported and either fixing the parser behavior or clearly documenting the supported range.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.