summaryrefslogtreecommitdiff
path: root/src/test/test-json.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* json: add support for using static const strings directly as JsonVariant objectsLennart Poettering2018-10-181-4/+5
* json: enforce a maximum nesting depth for json variantsLennart Poettering2018-10-181-0/+34
* test: use fabsl instead of fabs as json_variant_real() returns 'long double'Yu Watanabe2018-10-141-1/+1
* json: add testLennart Poettering2018-10-101-0/+411
* util-lib: drop json parserLennart Poettering2016-02-131-202/+0
* tree-wide: remove Emacs lines from all filesDaniel Mack2016-02-101-2/+0
* util-lib: split out allocation calls into alloc-util.[ch]Lennart Poettering2015-10-271-0/+1
* util-lib: split our string related calls from util.[ch] into its own file str...Lennart Poettering2015-10-241-1/+2
* json: minor style fixesv220Lennart Poettering2015-05-211-2/+3
* test.json: fix build on x86-32 where int and intmax_t differLennart Poettering2015-05-211-1/+1
* json: fix a mem leakThomas Hindoe Paaboel Andersen2015-05-191-3/+1
* test/test-json: Tests for the tokenizer bugfix and the DOM parserPavel Odvody2015-05-191-0/+97
* remove unused includesThomas Hindoe Paaboel Andersen2015-02-231-1/+0
* shared: json - support escaping utf16 surrogate pairsTom Gundersen2014-12-221-0/+3
* shared: utf8 - support ucs4 -> utf8Tom Gundersen2014-12-221-0/+1
* test-json: use fabsThomas Hindoe Paaboel Andersen2014-12-161-1/+3
* shared: add minimal JSON tokenizerLennart Poettering2014-12-151-0/+101