News for hackers. Stuff that matters.
Re:The Pretty JSON Revolution by gmfawcett on Tuesday February 23, 2021 @01:23PM (#26240729)
Nitpicking, but JSON was designed as a data-interchange format, it only happens to be used for serialization. I agree that any kind of pipeline component (i.e., not a source, and not a sink) should preserve ordering where possible, for the sake of robustness.
Re:The Pretty JSON Revolution by stickfigure on Tuesday February 23, 2021 @02:49PM (#26241984)
JSON is defined (and has always been) as a serial stream of characters. I think it's fair to call that serialization.
Re:The Pretty JSON Revolution by gmfawcett on Tuesday February 23, 2021 @03:08PM (#26242232)
I'm not disagreeing that JSON is used for data serialization, but your last comment just muddies the waters. There are plenty of things that are serial in nature, but have nothing to do with "serialization" in the sense of data marshalling. I guess that the term is kind of unfortunate.

Consider just how how many data formats are ultimately defined as a "serial stream of characters" -- and then consider how few of those you would practically use for marshalling a general data structure.