4 ms·
> 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.
by majewsky 8y ago
> 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.