summaryrefslogtreecommitdiff
path: root/json_util.c
Commit message (Expand)AuthorAgeFilesLines
* Apply same EINVAL handling to json_parse_uint64() as was done for json_parse_...Eric Haszlakiewicz2022-10-301-1/+6
* Issue #792 - set errno=EINVAL if parsing the string in json_parse_int64 fails...Eric Haszlakiewicz2022-10-261-1/+6
* Fix build with clang-15+Khem Raj2022-08-131-1/+1
* Apply some of the fixes from PR #740, although by using size_t instead of cas...Eric Haszlakiewicz2022-07-311-9/+11
* json_object_from_fd_ex: fail if file is too largeTobias Stoeckmann2022-03-201-3/+10
* Fix error messagesTobias Stoeckmann2022-03-191-9/+9
* json_type_to_name(): use correct printf() formatterEven Rouault2022-01-311-2/+2
* Eliminate use of ctype.h and replace isdigit() and tolower() with non-locale-...Eric Haszlakiewicz2020-08-021-1/+0
* Fix incremental parsing of invalid numbers with exponents, such as "0e+-" and...Eric Haszlakiewicz2020-06-271-1/+2
* fix json_parse_uint64() usage of errnoPierce Lopez2020-05-101-5/+3
* Re-do clang-format.Eric Haszlakiewicz2020-04-181-1/+0
* Make json_abort() internal to json_object.cEric Haszlakiewicz2020-04-181-6/+0
* Issue #568: fix the strtoll and strtoull handing so config.h ends up creating...Eric Haszlakiewicz2020-04-091-5/+0
* clang-format the filesdota172020-04-031-71/+87
* add the disabling formatting coments and adjust the partial code manulydota172020-04-031-10/+13
* Fixes various Wreturn-type and Wimplicit-fallthrough errors on Mingw-w64Jehan2020-03-161-0/+7
* modify the json_object, replace c_int64/c_uint64 with struct{union{int64, uin...dota172020-02-271-1/+0
* add uint64 data to json-cdota172020-02-251-1/+20
* Define vars earlier to fix old Windows builds.Eric Haszlakiewicz2019-11-101-2/+3
* Add a json_object_from_fd_ex() function, to allow the max nesting depth to be...Eric Haszlakiewicz2019-11-101-3/+25
* Rename _set_last_err() to _json_c_set_last_err().Eric Haszlakiewicz2017-11-291-9/+9
* On VS 2013 and newer, actually use strtoll instead of redefining it to _strto...Eric Haszlakiewicz2017-11-261-1/+4
* json_util: define `strtoll` as _strtoi64 for MSVCAlexandru Ardelean2017-11-071-0/+1
* Use strtoll to parse intsJason King2017-09-071-115/+8
* Issue #173: since some sscanf implementations return 0 for non-zero inputs, d...Eric Haszlakiewicz2017-09-051-1/+3
* PR#331: for Visual Studio, use a snprintf/vsnprintf wrapper that ensures the ...Eric Haszlakiewicz2017-08-251-6/+1
* Fix parsing doubles for mingwtopilski2017-07-301-1/+3
* build: make `strerror()` override-ableAlexandru Ardelean2017-07-131-1/+2
* Issue #161: add a json_object_to_fd() function.Eric Haszlakiewicz2017-06-181-30/+51
* Make _set_last_err() non-static so it can be used outside of json_util.cEric Haszlakiewicz2017-06-181-2/+1
* Issue #189: Eliminate use of MC_ERROR from json_util.c, and add a json_util_g...Eric Haszlakiewicz2016-06-261-15/+27
* Introduce json_object_from_fdMichael Heimpold2014-07-211-11/+26
* Move the json_min() and json_max() macros to json_util.h and mark everything ...Eric Haszlakiewicz2014-05-041-1/+0
* Update json_utilPascal Bach2013-08-131-2/+2
* Eliminate use of MC_ABORT in json-c code, and mark MC_ABORT/mc_abort deprecated.Eric Haszlakiewicz2013-06-291-2/+2
* Fix C89 compat needed by MSVCAnatol Belski2013-06-041-4/+5
* Merge branch 'remicollet-issue-float'Eric Haszlakiewicz2013-02-261-0/+5
|\
| * move locale change to be global for perfRemi Collet2012-12-131-21/+1
| * float parsing must be locale independentRemi Collet2012-11-271-0/+25
* | Add a runtime check to see if parse_int64 needs to workaround sscanf bugs. I...Eric Haszlakiewicz2013-02-091-18/+63
* | Enable -Werror and fix a number of minor warnings that existed.Eric Haszlakiewicz2013-02-091-2/+3
* | rename _errnoGreg Hazel2013-01-031-5/+5
|/
* Initialize errno before calling sscanf in json_parse_int64() so parsing valid...Eric Haszlakiewicz2012-07-291-3/+6
* Remove unnecessary comment from json_util.cEric Haszlakiewicz2012-07-081-1/+1
* Replaced #if HAVE_X with #ifdef HAVE_X as the former test is troublemaker wit...Mateusz Loskot2012-05-211-6/+12
* Add a json_object_to_json_string_ext() function to allow the formatting of ou...Eric Haszlakiewicz2012-04-281-5/+14
* Some updates to make the code compatible with VC 9 (2008)John Arbash Meinel2012-02-011-3/+6
* Add a json_type_to_name() function which returns a string that describes the ...Eric Haszlakiewicz2011-05-031-0/+23
* Simplify things by storing integer values only as int64_t's internally, andehaszla2010-12-071-4/+18
* * Fix file descriptor leak if memory allocation fails in json_utilMichael Clark2010-10-131-2/+4