jansson/test/suites/api
Maxim Zhukov ca6775dee4 introduce new fixed-size key API
This commit added functions working with fixed-size strings (non null-terminated also).
It's helpful for the following cases:
* getting key from substring without copying to separate buffer (better perfomance)
* using pure UTF-8 keys for the objets
* hack: set binary structs as the keys (see test_binary_keys)

added functions:
 * json_object_getn
 * json_object_setn
 * json_object_setn_nocheck
 * json_object_setn_new
 * json_object_setn_new_nocheck
 * json_object_deln
 * json_object_iter_key_len

added iterators:
 * json_object_keylen_foreach
 * json_object_keylen_foreach_safe

Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
2020-09-01 10:22:14 +03:00
..
check-exports add jansson_* to shared library exports 2020-05-06 17:31:48 +08:00
Makefile.am introduce new fixed-size key API 2020-09-01 10:22:14 +03:00
run Update copyrights for 2016 2016-09-18 14:17:03 +03:00
test_array.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
test_chaos.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
test_copy.c Run clang-format on *.c, *.h 2019-10-21 08:55:01 +03:00
test_dump_callback.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
test_dump.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
test_equal.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
test_fixed_size.c introduce new fixed-size key API 2020-09-01 10:22:14 +03:00
test_load_callback.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
test_load.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
test_loadb.c Run clang-format on *.c, *.h 2019-10-21 08:55:01 +03:00
test_memory_funcs.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
test_number.c Run clang-format on *.c, *.h 2019-10-21 08:55:01 +03:00
test_object.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
test_pack.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
test_simple.c Run clang-format on *.c, *.h 2019-10-21 08:55:01 +03:00
test_sprintf.c Run clang-format on *.c, *.h 2019-10-21 08:55:01 +03:00
test_unpack.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
test_version.c Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
util.h Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00