summaryrefslogtreecommitdiff
path: root/src/shared/json.h
Commit message (Expand)AuthorAgeFilesLines
* json: add helper for adding variant to array suppressing duplicatesLennart Poettering2022-12-151-0/+3
* bootctl: use output mode where "[]" is written instead for empty outputZbigniew Jędrzejewski-Szmek2022-12-011-1/+2
* shared/json: make it possible to specify source name for strings too, add testsZbigniew Jędrzejewski-Szmek2022-12-011-2/+10
* json: add build helpers to insert id128 in uuid formatting into json objectLennart Poettering2022-11-101-0/+4
* shared/json: allow json_variant_dump() to return an errorZbigniew Jędrzejewski-Szmek2022-10-181-1/+1
* json: add helper for json builder for octescape/base32hexLennart Poettering2022-09-301-0/+6
* json: add dispatchers for 16bit integersLennart Poettering2022-09-301-0/+2
* json: introduce json_append()Yu Watanabe2022-09-031-0/+3
* shared/json: add helper to ref first, unref secondZbigniew Jędrzejewski-Szmek2022-05-101-0/+8
* shared/json: disentangle flag mixupZbigniew Jędrzejewski-Szmek2022-05-071-3/+3
* json: introduce several macros for building json objectYu Watanabe2021-11-251-1/+57
* json: add new JSON_BUILD_CONST_STRING() macroLennart Poettering2021-11-251-0/+1
* shared/json: use int64_t instead of intmax_tZbigniew Jędrzejewski-Szmek2021-11-181-16/+10
* shared/json: stop using long doubleZbigniew Jędrzejewski-Szmek2021-11-181-5/+5
* json: rework JSON_BUILD_XYZ() macros to use compound literals instead of comp...Lennart Poettering2021-08-231-15/+15
* json: make JSON_VARIANT_ARRAY/OBJECT_FOREACH() nestableYu Watanabe2021-05-141-13/+17
* tree-wide: use UINT64_MAX or friendsYu Watanabe2021-03-051-1/+1
* json: rename json_dispatch_{integer,unsigned} -> json_dispatch_{intmax,uintmax}Anita Zhang2021-02-261-4/+4
* Move and rename parse_json_argument() functionZbigniew Jędrzejewski-Szmek2021-02-151-2/+0
* tree-wide: use -EINVAL for enum invalid valuesZbigniew Jędrzejewski-Szmek2021-02-101-1/+1
* json: add generic cmdline parser for --json= switchLennart Poettering2021-01-091-0/+2
* json: add new json format flag for disabling JSON outputLennart Poettering2021-01-091-0/+1
* json: add APIs for quickly inserting hex blobs into as JSON stringsLennart Poettering2020-12-171-0/+4
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* json: also add explicit dispatchers for 'int' and 'unsigned'Lennart Poettering2020-08-261-0/+6
* json: add support for byte arrays to json builderLennart Poettering2020-08-261-0/+2
* json: add helpers for dealing with id128 + strvLennart Poettering2020-08-121-0/+6
* json: when making a copy of a json variant, propagate the sensitive bitLennart Poettering2020-04-291-0/+1
* user-util: rework how we validate user namesLennart Poettering2020-04-081-0/+1
* json: add new output flag JSON_PRETTY_AUTOLennart Poettering2019-12-021-8/+9
* json: add const string dispatcherLennart Poettering2019-12-021-0/+1
* json: teach json_build() to build arrays from C arrays of JsonVariantLennart Poettering2019-12-021-0/+2
* json: add more dispatch helpersLennart Poettering2019-12-021-0/+4
* json: add json_variant_set_field_integer() and json_variant_set_field_boolean...Lennart Poettering2019-12-021-0/+2
* json: add json_variant_unbase64() helperLennart Poettering2019-12-021-0/+2
* json: add new flag for forcing a flush after dumping json data to fileLennart Poettering2019-12-021-0/+1
* json: add explicit log call for ENOMEMLennart Poettering2019-12-021-0/+3
* json: add ability to generate empty arrays/objects in json builderLennart Poettering2019-12-021-0/+2
* json: allow putting together base64 fields with json_build()Lennart Poettering2019-12-021-0/+2
* json: add new helper json_variant_append_array()Lennart Poettering2019-12-021-0/+2
* json: add new helper json_variant_new_base64()Lennart Poettering2019-12-021-0/+1
* json: add concept of normalizationLennart Poettering2019-12-021-0/+5
* json: add json_variant_merge() helperLennart Poettering2019-12-021-0/+2
* json: add json_variant_set_field_string() and json_variant_set_field_unsigned()Lennart Poettering2019-12-021-0/+2
* json: add json_variant_strv() helper that converts a json variant to an strvLennart Poettering2019-12-021-0/+2
* json: optionally, make string checks stricter when dispatching stringsLennart Poettering2019-12-021-2/+3
* json: add flags parameter to json_parse_file(), for parsing "sensitive" dataLennart Poettering2019-12-021-5/+9
* json: add json_parse_file_at() helperLennart Poettering2019-12-021-1/+6
* json: add a new "sensitive" flags for JsonVariant objectsLennart Poettering2019-12-021-0/+2
* json: add new json_variant_set_field() helperLennart Poettering2019-12-021-0/+2