]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/home/homectl.c
json: add json_variant_set_fieldb() helper 28946/head
authorLennart Poettering <lennart@poettering.net>
Thu, 24 Aug 2023 07:55:48 +0000 (09:55 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 24 Aug 2023 11:20:39 +0000 (13:20 +0200)
commitf5fc7732b0663616d237a04410a70490e456a662
treec9a5db588f9f66b5d8a351a41373208782289ae9
parente931768eb4687ac5a456987fe5bea4ec87225637
json: add json_variant_set_fieldb() helper

Let's a "b" helper for json_variant_set_field() that combines
json_build() with json_variant_set_field(), similar to the
json_variant_merge_objectb(), json_variant_append_arrayb().
src/home/homectl.c
src/home/user-record-sign.c
src/shared/json.c
src/shared/json.h