Quick answer
JSON Large Number – causes and fixes.
JSON Large Number
JSON Large Number – causes and fixes. Use a JSON validator to locate the error.
Common causes
- Precision loss in JS.
How to fix
- Use string for big int.
Use our JSON Validator to paste your input and see the exact error location. Validatethis.org offers free validators for JSON, XML, CSV, HTML, and more. Check /tools for the full list. For API access and integration, see /developers.
FAQ
- Precision?
- JS ~15 digits.
- Safe integer?
- ±2^53-1.
Fix it now
Try in validator (prefill this example)