What's the actual case for using NUL-delimited JSON instead of newline delimited JSON? NL-delimiting has so many clear advantages: it's just a normal string even in C; streams of LF-delimited JSON is easily readable in a terminal; storing to a file makes a readable + editable normal text file. NUL-delimiting gives you... the option to use a JSON encoder setting which adds newlines, I guess?
The trade-off is so clearly in newline-delimiting's favor to me, so why are people using \0? #programming
I want to be convinced that there is a good reason to use \0, because the future of Linux is gonna use that heavily as a DBUS replacement thanks to varlink (https://varlink.org/). I want someone to convince me that this isn't just a protocol design mistake that will be with us for the foreseeable future now.