Hacker News new | ask | show | jobs
by amelius 27 days ago
Yeah maybe a bit harsh. But the point is if you are looking for that kind of performance, I don't see why you wouldn't send binary data and then unpack it as needed.
2 comments

If you control both ends of the pipe, then sure. But for better or worse, large chunks of infrastructure expect to send or receive JSON.
csv/tsv are alive & well for interorg data pipelines
But JSON uses floats, not integers.
Does it really? I assumed it used strings.
javascript uses floats as its own default numeric data type; but other languages do have integers, and might want to convert those integers into a JSON (string) representation
Because maybe the choice of serialization format isn't under your control?