]> git.ipfire.org Git - thirdparty/systemd.git/commit
json: add new dispatch flag JSON_ALLOW_EXTENSIONS
authorLennart Poettering <lennart@poettering.net>
Mon, 4 Dec 2023 17:10:02 +0000 (18:10 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 5 Jan 2024 11:43:06 +0000 (12:43 +0100)
commita617fd904789cd3a05cf4cb2f54649e2a1f73d33
tree05c2b228afaadcf7a03b2f288af099996607fa46
parent8ef31e1f13e29a4ee5a052cd8770120e3b16301c
json: add new dispatch flag JSON_ALLOW_EXTENSIONS

This is a subset of JSON_PERMISSIVE focussed on allowing parsing of
varlink replies that get extended, i.e. gain new fields, without
allowing more than that (i.e. without allowing missing fields, or bad
field types or such).
src/shared/json.c
src/shared/json.h