summaryrefslogtreecommitdiff
path: root/src/shared/json.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* json: rework JSON_BUILD_XYZ() macros to use compound literals instead of comp...Lennart Poettering2021-08-231-3/+3
* tree-wide: port everything over to new sd-id128 compund literal blissLennart Poettering2021-08-201-3/+1
* Drop the text argument from assert_not_reached()Zbigniew Jędrzejewski-Szmek2021-08-031-6/+6
* tree-wide: "a" -> "an"Yu Watanabe2021-06-301-1/+1
* alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size()Lennart Poettering2021-05-191-15/+15
* tree-wide: use UINT64_MAX or friendsYu Watanabe2021-03-051-12/+12
* json: rename json_dispatch_{integer,unsigned} -> json_dispatch_{intmax,uintmax}Anita Zhang2021-02-261-2/+2
* Move and rename parse_json_argument() functionZbigniew Jędrzejewski-Szmek2021-02-151-21/+0
* shared/json: make JsonVariant.type field widerZbigniew Jędrzejewski-Szmek2021-02-101-4/+4
* log: drop unused LogRealmYu Watanabe2021-01-251-3/+3
* json: add generic cmdline parser for --json= switchLennart Poettering2021-01-091-0/+21
* json: add new json format flag for disabling JSON outputLennart Poettering2021-01-091-0/+3
* json: add APIs for quickly inserting hex blobs into as JSON stringsLennart Poettering2020-12-171-0/+51
* Merge pull request #17702 from rnhmjoj/masterLennart Poettering2020-12-161-4/+4
|\
| * tree-wide: avoid direct use of color macrosrnhmjoj2020-12-151-4/+4
* | json: log location also when there is no fileZbigniew Jędrzejewski-Szmek2020-12-101-0/+10
|/
* fileio: teach read_full_file_full() to read from offset/with maximum sizeLennart Poettering2020-12-011-1/+1