News, articles, and notes
Writing on Delphi, the web, and the seam between them.
Deep dives, opinions, project notes, and conference reports. Updated whenever something is worth saying.
Featured
From TBitmap to JSON and Back Again
Part six of the JSON series for Delphi developers — encoding and decoding base64 with TNetEncoding, the Base64 versus Base64String trap that breaks JSON payloads, and complete image round trips with TBitmap and TJPEGImage.
- Delphi
- JSON
- REST
- APIs
- Base64
Read article
Free to read, not free to make. Everything here is published without ads or paywalls, funded by readers.
How to support01 — More recent
See all 82 →Base64: The Thing Everyone Uses and Nobody Explains
By now this series has established what JSON is made of — six value types and one recursive rule — and we've spent a whole post on the first thing that list doesn't include: dates. The fix there was a convention. A date becomes a string in…
- Delphi
- JSON
- REST
- Base64

Objects Aren't Data — Serialization Is How They Pretend
Every post in this series so far has had you building JSON by hand. In part three we walked through all three ways the RTL lets you do it — the object model, the reader/writer pair, the fluent builder — and every one of them had you naming…
- Delphi
- JSON
- REST
- APIs
- RTTI

One RTL, Three Ways to Speak JSON
In part one we established what JSON actually is — six value types and one recursive rule. In part two we dealt with the type JSON doesn't have, and how to get dates across the wire without shifting anyone's birthday by a day. Both posts…
- Delphi
- JSON
- REST
- APIs
- RTL

The Date Type JSON Doesn't Have
In Delphi, a date is a thing. You declare Birthday: TDate, the compiler knows what it is, the debugger shows it to you properly, and IncMonth does the right thing on the 31st. TDate, TTime, and TDateTime are real types in the language —…
- Delphi
- JSON
- REST
- APIs
- DateUtils

You're Already Surrounded by JSON — Here's What It Actually Is
Open your editor right now and think about the last thing you built that talked to the outside world. A REST call to a payment provider. A config file your app reads on startup. A webhook from GitHub. The response from a weather service, a…
- Delphi
- JSON
- REST
- APIs

List a Folder in One Call: The IOUtils Cookbook (2/2)
In Part 1 we met System.IOUtils and its central surprise — that TFile, TDirectory, and TPath are records, not classes, so you call them through the type name and never Create or Free a thing. We put TFile through its paces: reading a whole…
- Delphi
- IOUtils
- Object Pascal
- Directories
- Cross-Platform

02 — The archive
75 more articles, back to 2023.
Every article ever published, grouped by year and month.
