mirror of
https://github.com/systemd/systemd.git
synced 2026-08-12 22:17:19 +00:00
Typically, the top-level JSON object has to be an object, in any json document we parse, hence let's add a simple way to enforce that. Make use of this in various places. (Note, various other JSON parsers insist on this logic right from the beginning, but I actually thinking making this insisting optional like this patch does it is the cleaner approach)
12 KiB
12 KiB