summaryrefslogtreecommitdiff
path: root/json_object.c
Commit message (Expand)AuthorAgeFilesLines
* When serializing with JSON_C_TO_STRING_PRETTY set, keep the opening and closi...Eric Haszlakiewicz2022-07-301-14/+8
* Fix memory leak with emtpy strings in json_object_set_stringDaniel Danzberger2022-07-241-3/+10
* Merge pull request #758 from c3h2-ctf/contextEric Hawicz2022-04-041-6/+41
|\
| * Preserve context if out of memoryTobias Stoeckmann2022-03-311-6/+41
* | Remove single quote from #error line. Fixes issue #761Eric Haszlakiewicz2022-03-251-1/+1
* | Code style removed unneeded double-quotesBonsaY2022-03-211-1/+1
|/
* Fix error messagesTobias Stoeckmann2022-03-191-3/+4
* Merge pull request #739 from rouault/avoid_unsigned_integer_overflowEric Hawicz2022-02-181-1/+2
|\
| * json_escape_str(): avoid harmless unsigned integer overflowEven Rouault2022-01-121-1/+2
* | json_object_copy_serializer_data(): add assertionEven Rouault2022-01-161-0/+1
|/
* Add linkhash accessor functions (lh_table_head(), lh_entry_next(), etc...) to...Eric Haszlakiewicz2021-11-301-2/+2
* Drop the REFCOUNT_DEBUG code, it hasn't been used in ages.Eric Haszlakiewicz2021-11-301-46/+0
* Fix for clang ub sanitizerRobert Bielik2021-11-111-5/+5
* Really use prefix JSON_C_OBJECT_ADD_*José Bollo2021-10-191-1/+1
* Merge some old work to include (some of) PR #464 into the current master branch.Eric Haszlakiewicz2021-07-251-13/+14
|\
| * Update json_object.cihsinme2021-02-051-3/+3
| * Cap string length at INT_MAX.Tobias Stoeckmann2020-08-221-3/+4
| * Aligned comment in _json_object_new_stringTobias Stoeckmann2020-08-221-5/+5
| * Fixed warningsAram Poghosyan2020-08-141-2/+2
* | Eliminate use of ctype.h and replace isdigit() and tolower() with non-locale-...Eric Haszlakiewicz2020-08-021-3/+5
* | Take a hint from PR #464 and use json_object_new_string_len() to avoid a need...Eric Haszlakiewicz2020-08-021-10/+16
|/
* Fix "may be used uninitialized" Release build failureMarc2020-07-231-1/+1
* Issue #641: Add a cast to void * to address some theoretically undefined prin...Eric Haszlakiewicz2020-07-111-1/+1
* Use constants referring to the signed integer types when setting SSIZE_T_MAX.Eric Haszlakiewicz2020-07-011-3/+3
* In the json_tokener_state_number case, explicitly adjust what "number" charac...Eric Haszlakiewicz2020-06-291-1/+0
* Add json_object_array_shrink() (and array_list_shrink()) and use it in json_t...Eric Haszlakiewicz2020-06-201-1/+12
* Reformat the json_object-split branch with clang-formatjson_object-splitEric Haszlakiewicz2020-06-161-38/+31
* Drop the _delete field from struct json_object and call the type-specific del...Eric Haszlakiewicz2020-06-131-16/+30
* Drop the useless "char data[1]" from struct json_object. Fix a typo in a com...Eric Haszlakiewicz2020-06-131-1/+1
* The split of json_object into type-specific sub-structures is now functionall...Eric Haszlakiewicz2020-06-071-399/+75
* More fixes for old MSVC builds.Eric Haszlakiewicz2020-06-071-5/+5
* Kick json_type_string out of struct json_object.Eric Haszlakiewicz2020-06-071-91/+142
* Kick json_type_int and json_type_double out of struct json_object.Eric Haszlakiewicz2020-05-261-135/+170
* Declare variables earlier, to appease Visual Studio 2010.Eric Haszlakiewicz2020-05-251-3/+6
* Kick json_type_boolean out of struct json_object.Eric Haszlakiewicz2020-05-251-15/+36
* Add some backwards compat for Visual Studio 2013.Eric Haszlakiewicz2020-05-251-0/+5
* Kick json_type_array out of struct json_object; re-enable the test_deep_copy ...Eric Haszlakiewicz2020-05-251-28/+81
* Start splitting struct json_object into multiple sub-types, as descibed at ht...Eric Haszlakiewicz2020-05-251-49/+335
* Prevent truncation on custom double formatters.Tobias Stoeckmann2020-05-161-1/+2
* Revert part of PR#606 and use isnan/isinf again, but provide macro implementa...Eric Haszlakiewicz2020-05-161-6/+1
* Improved support for IBM operating systemsDavid McCann2020-05-141-1/+8
* Re-do clang-format.Eric Haszlakiewicz2020-04-181-1/+0
* Make json_abort() internal to json_object.cEric Haszlakiewicz2020-04-181-0/+25
* Enforce strict prototypes.Björn Esser2020-04-131-1/+1
* Clean trailing white-space.Björn Esser2020-04-111-1/+1
* Fix one more assert("!invalid cint_type") to use json_abort(...) instead.Eric Haszlakiewicz2020-04-101-1/+1
* clang-format the filesdota172020-04-031-479/+451
* add the disabling formatting coments and adjust the partial code manulydota172020-04-031-20/+21
* Changed order of calloc args to match stdlibRobert2020-04-021-1/+1
* add test casesdota172020-03-311-1/+2