master
test: add parser and serializer fuzzing
add missing license header
PoC: replace hash tables by arrays
tests: fix CI warning and distcheck failures
Extend test1 and test2 to run using json_object_to_json_string_ext() based on an additional command line parameter. Extend the run_output_test() function so we actually can pass command line parameters and so we can support different output files for the same test executable. Also provide some hints about what to do if a test fails (i.e. set VERBOSE=1).
testbench: fix test script problem on Solaris
cleanup: remove unneeded include
Fix a memory leak in test1 with respect to how json_object_object_del was used.
build: fix test suite after changes to json.h
Move the rest of the tests into the tests subdirectory.
Fix duplicate include of config.h
remove no longer need hashtable code
Make it safe to delete keys while iterating with the json_object_object_foreach macro.
Rewrite json_object_object_add to replace just the value if the key already exists so keys remain valid. This is particularly useful when replacing values in a loop, since it allows the key used by json_object_object_foreach to continue to be used.
tests: expand correctness coverage
replace json_inttypes.h by stdint.h
change API from json_* to fjson_* to prevent problems with json-c
speed up object child lookup
Rename the "test_case" test to "test_charcase" to make it slightly less confusing.
fix: handle small buffered dump workspaces
testbench: add test for floating point representation
Added a json_object_new_double_s() convenience function to allow an exact string representation of a double to be specified when creating the object and use it in json_tokener_parse_ex() so a re-serialized object more exactly matches the input. Add json_object_free_userdata() and json_object_userdata_to_json_string() too.
Include the test_locale test in the tests that run.
testbench: add test to put sub-object code under stress
testbench: tool was not building cleanly
testbench: add test for iterator
testbench: add missing file
testbench: detect misadressing in fjson_object_object_get_ex()
cleanup
testbench: add basic test for fjson_object_object_add_ex()
testbench bugfix: some tests did only work in debug build
testbench: do not test non-well-defined integer representations
Simplify the tests Makefile to avoid repeating the name of each test.
Actually save the expected output for the test_printbuf test so it passes.
Add a test for the printbuf functions.
testbench: add new test for invalid unicode escapes
support solaris compiler