jansson/test
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
..
bin Tweak clang-format configuration a bit 2019-10-21 08:56:03 +03:00
ossfuzz Merge pull request #487 from cmeister2/cmeister2/ossfuzzcorpus 2019-07-26 09:43:44 -04:00
scripts Update copyrights for 2016 2016-09-18 14:17:03 +03:00
suites introduce new fixed-size key API 2020-09-01 10:22:14 +03:00
.gitignore Run clang-format with make check 2019-10-21 08:56:03 +03:00
Makefile.am Move ossfuzz directory and use Makefile.am 2019-07-19 09:52:37 +01:00
run-suites Use expr instead of $((...)) in shell scripts 2014-10-03 08:49:08 +03:00