Generate TypeScript Types from JSON (and where the auto-generators trip up)
You've got a JSON API response and you want TypeScript interfaces for it. Here's how to generate them fast — and where the auto-generators quietly get…
Tech news from the best sources
You've got a JSON API response and you want TypeScript interfaces for it. Here's how to generate them fast — and where the auto-generators quietly get…
You've got JSON and you want typed Python objects instead of raw dicts. There are three good targets — dataclass , TypedDict , and Pydantic — and they…
If you work anywhere near spreadsheets and code, you'll eventually run into this exact situation: someone hands you a CSV export from Excel or Google …
You call JSON.parse() (or res.json() ) and get: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON Before you hunt for a missi…
Japan's qualified invoice system requires every invoice to carry a registration number (a "T" followed by 13 digits) and a per-rate tax breakdown — 8%…
Here's a bug that looks impossible until you understand Gson. You have this data class in your Pokedex app: data class PokemonStat ( @SerializedName (…
Hi everyone, I want to share textparser, a high-performance, lightweight text parsing and AST generation library written in pure C. 💡 The Core Idea &a…
Like most developers working today, I spend about 99% of my life swimming in JSON. It’s just the default language of the modern web. Whether you're bu…
Working With Massive JSON Responses Without Losing Performance Every developer eventually encounters it. You make an API request expecting a few hundr…
Sometimes you don't want a formatted bibliography, you want your bibtex as a spreadsheet or a JSON array you can pipe into something else. Four separa…
I Built a Browser-Only JSON Schema Validator — Draft-07, $ref, allOf/anyOf/oneOf, if/then/else, 173 Tests JSON Schema validation usually means pulling…
Messy text is everywhere: support tickets, lead forms, emails, contracts, incident reports, call notes, Slack messages. The annoying part is that the …
You call an API, get back JSON, and someone non-technical asks for it "in Excel." Here are three ways to do that — pick based on whether it's a one-of…
Working with complex JSON payloads can quickly become a nightmare. You end up chaining .map() , .filter() , and .reduce() calls across multiple lines …
Book: Prompt Engineering Pocket Guide: Techniques for Getting the Most from LLMs Also by me: Thinking in Go (2-book series) — Complete Guide to Go Pro…
Everyone seems to be building AI products right now. Open LinkedIn, Product Hunt, or Twitter, and you'll find hundreds of new AI tools launching every…
I was importing a JSON file and it blew up. Not a subtle bug — the parser refused the whole thing. The cause was a single extra comma. After deleting …
I spent yesterday building purejq , a pure-Python implementation of jq. I expected it to be the slow-but-portable option. Then I benchmarked it agains…
Data Visualizer Live Demo 🌐 Try it live: https://datavisualizer.urlmediainspector.dev/ What It Is Data Visualizer is a visual workspace where develope…
Top 10 Free Online Tools Every Developer Should Bookmark Disclosure: I built these tools after repeatedly running into the same development tasks over…
JSON looks simple — just key-value pairs, right? But its strictness is legendary. No trailing commas. No comments. No single quotes. No undefined . Mi…
When building Symfony APIs, I kept duplicating the same request contract: validation rules in a DTO OpenAPI schema (often separately) mapping / glue c…
In the previous articles of this series, we introduced Okyline with an e-commerce order, added conditional logic, and covered computed business rules.…
// Before $payload = json_encode ( $response ); $data = json_decode ( $input , true ); $ok = json_validate ( $input ); // After $payload = fastjson_en…
You pasted JSON into your editor and it broke. Now what? Most developers jump straight to formatting — prettify it, add indentation, make it readable.…
At some point, every internal tool, CLI utility, or developer script needs to remember something between runs. A list of environments. A job queue. A …
If you've ever tried to do serious code generation from JSON Schema — or used OpenAPI tooling on a complex schema and watched it give up mid-object — …
We've been there. JSON Schema gets hard to write as soon as your payload is non-trivial. Conditional logic, cross-field rules, business invariants, an…
When building applications with large language models (LLMs), one of the most overlooked costs is how structured data is represented. Most systems use…