News for hackers. Stuff that matters.
Re:The rise and rise of JSON (2017) by majewsky on Friday August 24, 2018 @04:45AM (#17833627)
> It’s easy for JavaScript users, that’s it’s main purpose.

I'm writing Go applications that talk to Python applications with (you guessed it) JSON-over-HTTP. Saying that JSON is only for JS users is like saying the iPhone is only for people that need to make calls.

> For serialised data either at rest or on the wire there are dozens of better formats e.g. HDF5. Or even ASN.1.

A huge advantage of JSON is that it is human-readable and human-writable without extra tooling (although an indenter sure makes things easier on the eye). Also, I recall ASN.1 parsers being a rich well of RCE bugs.

There are no comments on this comment yet.