summaryrefslogtreecommitdiff
path: root/src/shared/json.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* fileio: beef up READ_FULL_FILE_CONNECT_SOCKET to allow setting sender socket ...Lennart Poettering2020-11-031-1/+1
* macro: introduce POINTER_MAX as define for (void*) -1Lennart Poettering2020-10-221-1/+1
* shared/json: reject non-utf-8 stringsZbigniew Jędrzejewski-Szmek2020-09-011-1/+8
* json: split out string formatting to a separate functionZbigniew Jędrzejewski-Szmek2020-09-011-54/+54
* json: add support for byte arrays to json builderLennart Poettering2020-08-261-0/+30
* json: add helpers for dealing with id128 + strvLennart Poettering2020-08-121-0/+45
* json: turn off ubsan for json_variant_has_type()Lennart Poettering2020-05-261-1/+4
* macro: introduce DISABLE_WARNING_TYPE_LIMITS and make use of it everywhereLennart Poettering2020-05-251-3/+2
* json: use our regular way to turn off compiler warningsLennart Poettering2020-05-251-18/+14
* json: when making a copy of a json variant, propagate the sensitive bitLennart Poettering2020-04-291-1/+30
* tree-wide: spellcheck using codespellZbigniew Jędrzejewski-Szmek2020-04-161-1/+1
* user-util: rework how we validate user namesLennart Poettering2020-04-081-1/+1
* userdb: allow dots in usernameMike Gilbert2020-02-271-1/+1
* json: lower maximum allowed recursion to 2KLennart Poettering2020-01-211-3/+9
* json: add new output flag JSON_PRETTY_AUTOLennart Poettering2019-12-021-0/+3
* json: add const string dispatcherLennart Poettering2019-12-021-0/+21
* json: teach json_build() to build arrays from C arrays of JsonVariantLennart Poettering2019-12-021-0/+30
* json: add more dispatch helpersLennart Poettering2019-12-021-0/+76
* json: add json_variant_set_field_integer() and json_variant_set_field_boolean...Lennart Poettering2019-12-021-0/+22
* json: add json_variant_unbase64() helperLennart Poettering2019-12-021-0/+8
* json: add new flag for forcing a flush after dumping json data to fileLennart Poettering2019-12-021-0/+3
* json: permit 'null' as a way to reset tri-states to defaultLennart Poettering2019-12-021-0/+5
* json: allow putting together base64 fields with json_build()Lennart Poettering2019-12-021-0/+30
* json: add new helper json_variant_append_array()Lennart Poettering2019-12-021-0/+43
* json: add new helper json_variant_new_base64()Lennart Poettering2019-12-021-0/+14