Text-based IPC for Userspace Implementations

Toke Høiland-Jørgensen toke at toke.dk
Tue May 16 18:09:26 CEST 2017

Jonathan Rudenberg <jonathan at titanous.com> writes:

>> On May 16, 2017, at 09:12, Toke Høiland-Jørgensen <toke at toke.dk> wrote:
>> So why not avoid any possible confusion and just emit JSON? Or another
>> well-established serialisation format where the nesting can be made
>> explicit... :)
> +1 to this, requiring implementors to also implement a custom
> serialization format will lead to avoidable bugs.
> I took a quick look and there is a bit of precedent for the use of
> JSON in the kernel tree:
> https://github.com/torvalds/linux/tree/3401e8d1e1300742ed41910b9338b9da52689a16/tools/perf/pmu-events

Yeah, JSON is definitely gaining ground as the go-to format. See also
NetJSON: http://netjson.org/docs/what.html


More information about the WireGuard mailing list