Fix JSONPath Precision Loss for Large Numeric ValuesFix JSONPath Precision Loss for Large Numeric Values
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Fun bug from this week: a JSONPath tool was quietly dropping digits from large numbers. You'd query 12345678901234567890 and get back something close, but wrong. The cause: JSON gets parsed into JavaScript numbers, which can't hold that many digits exactly. The fix keeps numbers exactly as written in the source JSON. Merged into codercops/toolbelt, with tests: https://github.com/codercops/toolbelt/pull/265
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started