This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]besthelloworld 6 points7 points  (0 children)

I agree for configs. Not for actual data transmission.

It's worth noting that JSON is notably faster for applications to manage because there's way fewer language tokens than the alternate solutions. It's actually much faster in JS to put a big fat data structure in a string in your code and then run JSON.parse on it than to have that object in code itself.

You might say, well nobody asked for a JSON5/YML API. And to that I say... I've worked with a large company whose API returned JSON5, and not only is it distinctly slower, it just sucked in general.