summaryrefslogtreecommitdiffstats
path: root/src/test/test-json.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* json-util: Add JSON_BUILD_PAIR_CALLBACK_NON_NULL()Daan De Meyer2024-09-031-0/+12
* json-util: Add JSON_BUILD_STRING_ORDERED_SET()Daan De Meyer2024-09-031-0/+14
* json: make it easy to dispatch our enumsLennart Poettering2024-06-201-8/+13
* json: make it easy to serialize our enums to jsonLennart Poettering2024-06-201-7/+11
* sd-json: add sd_json_build() wrapper macro that implies SD_JSON_BUILD_OBJECT()Lennart Poettering2024-06-191-0/+15
* json: extend JsonDispatch flags with nullable and refuse-null flagsLennart Poettering2024-06-151-0/+80
* json: add sd_json_dispatch_double() helperLennart Poettering2024-06-151-0/+44
* test: extend JSON test coverageLennart Poettering2024-06-121-1/+95
* libsystemd: turn json.[ch] into a public APILennart Poettering2024-06-121-384/+386
* ASSERT_STREQ for simple casesIvan Kruglov2024-04-151-18/+18
* ASSERT_NULL/ASSERT_NOT_NULLIvan Kruglov2024-04-101-2/+2
* json: replace JSON_FORMAT_REFUSE_SENSITIVE with JSON_FORMAT_CENSOR_SENSITIVELennart Poettering2024-01-161-16/+20
* Merge pull request #30754 from poettering/iovecificationLennart Poettering2024-01-051-0/+21
|\
| * test: add unit tests for the new iovec helpersLennart Poettering2024-01-051-0/+21
* | test: add unit test for JSON_DISPATCH_ENUM_DEFINE()Lennart Poettering2024-01-051-0/+51
|/
* json: add JSON_FORMAT_REFUSE_SENSITIVE to json_variant_format()Luca Boccassi2024-01-031-0/+105
* json: teach dispatch logic to also take numbers formatted as stringsLennart Poettering2023-11-071-0/+62
* json: rename json_append() → json_variant_merge_objectb()Lennart Poettering2023-08-241-4/+4
* tree-wide: drop "static inline" use in .c filesLennart Poettering2023-08-211-1/+1
* tree-wide: drop trailing newline from various log callsLennart Poettering2023-07-101-4/+4
* tree-wide: Fix false positives on newer gccDaan De Meyer2023-05-231-1/+1
* json: add helper for adding variant to array suppressing duplicatesLennart Poettering2022-12-151-0/+25
* shared/json: make it possible to specify source name for strings too, add testsZbigniew Jędrzejewski-Szmek2022-12-011-0/+63
* basic: rename util.h to logarithm.hZbigniew Jędrzejewski-Szmek2022-11-081-1/+0
* shared/json: use different return code for empty inputZbigniew Jędrzejewski-Szmek2022-10-191-0/+18
* json: introduce json_append()Yu Watanabe2022-09-031-0/+15
* json: use fpclassify() or its helper functionsYu Watanabe2022-07-211-6/+12
* test: use fabs() as the argument is doubleYu Watanabe2022-07-211-6/+6
* test: JSON_BUILD_REAL nowadays expects 'double', not 'long double'Lennart Poettering2022-05-091-1/+1
* test: Use TEST macroJan Janssen2021-11-251-79/+56
* json: add new JSON_BUILD_CONST_STRING() macroLennart Poettering2021-11-251-7/+7
* json: don't assert() if we add a NULL element via json_variant_set_field()Lennart Poettering2021-11-251-0/+24
* shared/json: use int64_t instead of intmax_tZbigniew Jędrzejewski-Szmek2021-11-181-12/+12
* shared/json: stop using long doubleZbigniew Jędrzejewski-Szmek2021-11-181-17/+12
* test-json: add test that makes sure floats are somewhat reasonably implementedLennart Poettering2021-11-151-0/+54
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* test-json: add function headersZbigniew Jędrzejewski-Szmek2020-09-011-8/+28
* shared/json: reject non-utf-8 stringsZbigniew Jędrzejewski-Szmek2020-09-011-1/+1
* json: use our regular way to turn off compiler warningsLennart Poettering2020-05-251-3/+2
* json: add concept of normalizationLennart Poettering2019-12-021-2/+90
* json: add flags parameter to json_parse_file(), for parsing "sensitive" dataLennart Poettering2019-12-021-6/+6
* shared/varlink: add missing terminator in json stringsZbigniew Jędrzejewski-Szmek2019-05-301-0/+4
* Add fmemopen_unlocked() and use unlocked ops in fuzzers and some other testsZbigniew Jędrzejewski-Szmek2019-04-121-1/+2
* test-json: use standard test introZbigniew Jędrzejewski-Szmek2019-02-251-4/+2
* test-json: avoid deep stack recursion under msanZbigniew Jędrzejewski-Szmek2019-02-251-0/+7
* test-json: do not pass ephemeral array as intializer to JSON_BUILD_STRVZbigniew Jędrzejewski-Szmek2019-02-111-2/+4
* Delete duplicate linesTopi Miettinen2019-01-121-1/+0
* test-json: check absolute and relative difference in floating point testZbigniew Jędrzejewski-Szmek2019-01-031-9/+7
* fileio: when reading a full file into memory, refuse inner NUL bytesLennart Poettering2018-12-171-1/+1
* json: teach json builder "conditional" object fieldsLennart Poettering2018-11-281-0/+16