mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 00:14:32 +09:00
When varlink parameters are empty, omit the "parameters" field entirely
rather than sending "parameters":{}. This reduces message size and
follows varlink specification which allows parameters to be omitted.
The implementation supports three equivalent representations for empty
parameters: field omission, JSON null, and empty object {}. All three
are accepted on input for backward compatibility.
Fixes: #38474
3.2 KiB
3.2 KiB