]> git.ipfire.org Git - thirdparty/systemd.git/commit
json: add APIs for quickly inserting hex blobs into as JSON strings
authorLennart Poettering <lennart@poettering.net>
Tue, 1 Dec 2020 12:45:32 +0000 (13:45 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 17 Dec 2020 19:01:17 +0000 (20:01 +0100)
commit2d64d2b95538e00278d5a38c38171019dafab486
tree92f78e78acdba8cad3240b8e336ba14fa8e2882a
parent1403d48d6189f71d450cf9cfda1ac8494e16b20c
json: add APIs for quickly inserting hex blobs into as JSON strings

This is similar to the base64 support, but fixed-size hash values are
typically preferably presented as series of hex values, hence store them
here like that too.
src/shared/json.c
src/shared/json.h