#JSON
9 technical articles tagged with JSON
JSON Integer Precision Trap: When Snowflake IDs Are Silently Rewritten
JSON numbers beyond 2^53-1 are rounded by JSON.parse. Compare naive formatters with a lossless path, and cross-link JWT, Base64, and this site’s JSON tools.
Read moreUnexpected token '<' is not valid JSON — 5 Reasons Your API Returned HTML Instead
fetch throws SyntaxError: Unexpected token '<' when the response body is HTML, not JSON. Covers the 5 root causes: SPA history fallback returning index.html, auth 302 redirects, gateway 502 error pages, wrong baseURL, and missing res.ok checks — with curl diagnostics.
Read moreJSON Troubleshooting Handbook: From Error Message to Fix (Symptom Index)
JSON errors that make no sense? This handbook organizes fixes by symptom — syntax errors, Unicode escaping, encoding mojibake, and Schema validation failures, with a diagnostic tree and a general debugging workflow.
Read moreHow to Convert JSON to Java Entity Class (with annotations and List nesting)
Got JSON API data and want the matching Java POJO? Learn JSON-to-Java type mapping and common annotations, and step-by-step how to generate serializable classes locally.
Read moreHow to Convert JSON to Go struct (with json tags and nested types)
Have a JSON API response and want the matching Go struct? Learn the JSON-to-Go type mapping rules and step-by-step how to generate code with json tags locally.
Read moreJSON Shows Chinese as \uXXXX Escapes After Formatting — How to Get Readable Text Back
Why does formatted JSON turn Chinese into \uXXXX Unicode escapes, and how do you convert it back to readable text? Explains the cause and shows a one-click fix, all processed locally in your browser.
Read moreHTML Table to JSON: How to Preserve Rows, Columns and Structure
Converting an HTML table from a web page to JSON — how to keep headers, handle merged cells and nested structure? Step-by-step with our HTML table to JSON tool.
Read moreExcel to JSON: Dates Become Numbers / Chinese Garbled — Fix
When converting Excel to JSON, dates turn into numbers like 44927, Chinese is garbled, empty cells vanish? Explains Excel serial dates and encoding pitfalls, with our Excel to JSON tool.
Read moreJSON to TypeScript: Complete Guide to Auto-Generating Type Definitions
Step-by-step tutorial on how to quickly convert JSON data to TypeScript interfaces and type definitions, boosting development efficiency and code quality
Read more