summaryrefslogtreecommitdiffstats
path: root/src/shared/json.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* json: replace JSON_FORMAT_REFUSE_SENSITIVE with JSON_FORMAT_CENSOR_SENSITIVELennart Poettering2024-01-161-4/+9
* json: export json_variant_is_sensitive_recursive()Lennart Poettering2024-01-161-19/+30
* json: downgrade extension log message to LOG_DEBUGLennart Poettering2024-01-121-1/+1
* json: add trailing NUL byte in json_dispatch_byte_array_iovec()Yu Watanabe2024-01-111-1/+4
* json: introduce json_dispatch_byte_array_iovec() and json_dispatch_in_addr()Yu Watanabe2024-01-111-0/+56
* hexdecoct: make unbase64mem and unhexmem always use SIZE_MAXMike Yuan2024-01-081-2/+2
* Merge pull request #30754 from poettering/iovecificationLennart Poettering2024-01-051-3/+8
|\
| * json: add more iovec helpers for serializing/deserializing binary dataLennart Poettering2024-01-051-3/+8
* | json: add new dispatch flag JSON_ALLOW_EXTENSIONSLennart Poettering2024-01-051-1/+5
|/
* json: drop redundant checkLennart Poettering2024-01-041-3/+0
* json: add JSON_FORMAT_REFUSE_SENSITIVE to json_variant_format()Luca Boccassi2024-01-031-0/+26
* tree-wide: drop space between variable and an increment/decrementYu Watanabe2023-12-241-5/+5
* json: teach dispatch logic to also take numbers formatted as stringsLennart Poettering2023-11-071-19/+44
* 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