summaryrefslogtreecommitdiffstats
path: root/src/shared/json.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* varlink,json: introduce new varlink_dispatch() helperLennart Poettering2023-11-021-3/+30
* Merge pull request #29644 from poettering/json-iovecLuca Boccassi2023-10-201-0/+46
|\
| * json: add helpers for dispatching/building JSON with base64 struct iovecsLennart Poettering2023-10-201-0/+46
* | json: Introduce JSON_BUILD_CALLBACKDaan De Meyer2023-10-201-6/+42
* | json: Introduce JSON_BUILD_STRING_SETDaan De Meyer2023-10-201-0/+35
|/
* json: add json_build() support for env block serializationLennart Poettering2023-10-111-0/+43
* Remove json_variant_merge_pair() in favor of json_variant_set_field_non_null()Daan De Meyer2023-09-281-7/+0
* network: Rename json_append_one() and move to json.hDaan De Meyer2023-09-261-0/+7
* json: add json_variant_set_fieldb() helperLennart Poettering2023-08-241-0/+14
* json: rename json_append() → json_variant_merge_objectb()Lennart Poettering2023-08-241-25/+15
* json: add json_variant_append_arrayb() helperLennart Poettering2023-08-241-0/+14
* json: free array in json_variant_unref_many()Daan De Meyer2023-07-121-2/+3
* json: add json_dispatch_variant_noref() helperLennart Poettering2023-06-121-0/+10
* tree-wide: use memstream-utilYu Watanabe2023-05-311-16/+7
* tree-wide: check memstream buffer after closing the handleFrantisek Sumsal2023-05-241-14/+15
* json: correctly handle magic strings when parsing variant strvFrantisek Sumsal2023-05-231-2/+2
* shared: correctly propagate possible allocation errorsFrantisek Sumsal2023-05-221-1/+3
* tree-wide: fix typo and comment style updateYu Watanabe2023-02-151-1/+1
* shared/json: avoid use of fake flex arrayZbigniew Jędrzejewski-Szmek2023-02-061-11/+6
* json: add helper for adding variant to array suppressing duplicatesLennart Poettering2022-12-151-1/+21
* bootctl: use output mode where "[]" is written instead for empty outputZbigniew Jędrzejewski-Szmek2022-12-011-2/+6
* shared/json: optimize appending objects to arraysZbigniew Jędrzejewski-Szmek2022-12-011-33/+79
* shared/json: make it possible to specify source name for strings too, add testsZbigniew Jędrzejewski-Szmek2022-12-011-14/+44
* json: add build helpers to insert id128 in uuid formatting into json objectLennart Poettering2022-11-101-2/+9
* shared/json: use different return code for empty inputZbigniew Jędrzejewski-Szmek2022-10-191-2/+4
* shared/json: allow json_variant_dump() to return an errorZbigniew Jędrzejewski-Szmek2022-10-181-3/+4
* json: explicitly support offsets relative to NULL when dispatchingLennart Poettering2022-09-301-1/+14
* json: add helper for json builder for octescape/base32hexLennart Poettering2022-09-301-32/+35
* json: add dispatchers for 16bit integersLennart Poettering2022-09-301-0/+30
* tree-wide: use ASSERT_PTR moreDavid Tardon2022-09-131-18/+9
* json: introduce json_append()Yu Watanabe2022-09-031-0/+24
* tree-wide: Fix format specifier warnings for %xJan Janssen2022-08-301-1/+1
* tree-wide: Use correct format specifiersJan Janssen2022-08-301-4/+4
* json: use fpclassify() or its helper functionsYu Watanabe2022-07-211-27/+15
* json: actually use numeric C locale we just allocatedLennart Poettering2022-07-051-1/+3
* shared/json: fix memleak in sortZbigniew Jędrzejewski-Szmek2022-05-101-2/+2
* shared/json: fix another memleak in normalizationZbigniew Jędrzejewski-Szmek2022-05-101-2/+2
* shared/json: add helper to ref first, unref secondZbigniew Jędrzejewski-Szmek2022-05-101-26/+10
* shared/json: fix memory leak on failed normalizationZbigniew Jędrzejewski-Szmek2022-05-101-2/+3
* shared/json: wrap long commentsZbigniew Jędrzejewski-Szmek2022-05-101-18/+17
* shared/json: reduce scope of variablesZbigniew Jędrzejewski-Szmek2022-05-101-79/+54
* json: align tableZbigniew Jędrzejewski-Szmek2022-05-101-10/+8
* json: use unsigned for refernce counterYu Watanabe2022-04-191-2/+2
* shared: avoid x86_64-specific size assertion on x32Mike Gilbert2021-12-101-1/+1
* json: make JSON_BUILD_PAIR_IN_ADDR_NON_NULL or friends handle NULL gracefullyYu Watanabe2021-11-301-5/+5
* json: introduce several macros for building json objectYu Watanabe2021-11-251-4/+314
* json: don't assert() if we add a NULL element via json_variant_set_field()Lennart Poettering2021-11-251-1/+0
* shared/json: use int64_t instead of intmax_tZbigniew Jędrzejewski-Szmek2021-11-181-41/+41
* shared/json: stop using long doubleZbigniew Jędrzejewski-Szmek2021-11-181-29/+26
* json: do something remotely reasonable when we see NaN/infinityLennart Poettering2021-10-261-0/+6