94
TOML (lemmy.ml)
you are viewing a single comment's thread
view the rest of the comments
[-] Ephera@lemmy.ml 21 points 12 hours ago* (last edited 12 hours ago)

Counterpoints:

  • TOML is intended for configuration, not for data serialization, so you shouldn't be sending it over the wire in all too crazy ways anyways.
  • Most protocols will have a built-in way of knowing when the whole content has been transferred, typically by putting a content length into the header.
  • Having to wait until the closing } or ] can also be a disadvantage of JSON, since you cannot stream it, i.e. start processing the fields/elements before the whole thing has arrived. (You probably still don't want to use TOML for that, though. JSONL, CSV or such are a better idea.)
this post was submitted on 24 Feb 2026
94 points (96.1% liked)

Programmer Humor

41128 readers
237 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS