Quick answer
JSON Hex Number – causes and fixes.
JSON Hex Number
JSON Hex Number – causes and fixes. Use a JSON validator to locate the error.
Common causes
- Using 0xff.
How to fix
- Use decimal or string.
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
- Hex in JSON?
- No.
- Store hex?
- As string.
Fix it now
Try in validator (prefill this example)