aboutsummaryrefslogtreecommitdiff
path: root/src/dump.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-25Use dtoa for double to string conversionPetri Lehtinen1-2/+2
2020-09-01reuse key len from loop check for better performanceMaxim Zhukov1-16/+37
2020-08-12pass length of the key to internal APIMaxim Zhukov1-4/+4
2019-10-21Tweak clang-format configuration a bitPetri Lehtinen1-37/+52
2019-10-21Run clang-format on *.c, *.hPetri Lehtinen1-158/+118
2019-09-16add the loop key length macro for circular reference detectallen1-2/+1
2019-08-12add loop check in json deep copy #457allen1-11/+2
2018-10-17Merge pull request #436 from edgale/warningsCorey Farrell1-1/+1
2018-10-15fixed extra bracketMaximilian Röhrle1-1/+1
2018-10-15removed explicit castsMaximilian Röhrle1-4/+4
2018-08-31removed various warningsMaximilian Röhrle1-5/+5
2018-08-30This fixes https://github.com/akheron/jansson/issues/434Maximilian Röhrle1-1/+1
2018-08-12Rename a varialble that shadows another onePetri Lehtinen1-4/+4
2018-02-01json_dump: Fix thread safety issue.Corey Farrell1-42/+48
2017-08-05json_dump_file API returns success even when fclose fails (consider disk full...Sanjay Kumar1-1/+3
2017-02-27Add JSON_EMBED encoding flagNathaniel McCallum1-6/+10
2017-01-27Implement json_dumpfd() and json_loadfd()Nathaniel McCallum1-1/+20
2017-01-26Implement json_dumpb()Nathaniel McCallum1-0/+27
2016-09-18Update copyrights for 2016Petri Lehtinen1-1/+1
2016-06-20Always preserve insertion order of object itemsPetri Lehtinen1-29/+8
2015-10-05Format %x expects unsigned int, not intJonas Jonsson1-2/+2
2015-10-05Use sizeof(seq) instead of magic number 13Jonas Jonsson1-2/+2
2015-05-01Optimized dump_indent to reduce the number of fwrite calls.Folkert van Heusden1-3/+7
2015-04-30use snprintf and strncpy in place of sprintf and strcpyHaldean1-2/+2
2014-11-28Warnings - use size_t where appropriate to prevent warning when compilation i...Shawn Harris1-2/+3
2014-04-30Add JSON_REAL_PRECISIONPetri Lehtinen1-3/+7
2014-01-28Update copyrights for 2014Petri Lehtinen1-1/+1
2013-09-27dump \u sequences as upper case for readability (just like error messages)Chip Salzenberg1-2/+2
2013-09-27Support \u0000 - add size_t string lengths to API, load and dump \u000, etc.Chip Salzenberg1-7/+9
2013-07-23Update copyrights for 2013Petri Lehtinen1-1/+1
2013-04-15Merge branch '2.4'Petri Lehtinen1-0/+3
2013-04-15json_dump*(): Don't crash if json is NULL and JSON_ENCODE_ANY is setPetri Lehtinen1-0/+3
2013-04-02Merge pull request #108 from Zillode/1edff47af38a2335f88300ee6dc437118f5a20ffPetri Lehtinen1-0/+3
2013-03-14Do not define _GNU_SOURCE is already definedLode Hoste1-0/+3
2012-12-10Mark some constant data as const.Jacob Potter1-1/+1
2012-06-29Tweak slash escapingPetri Lehtinen1-16/+11
2012-06-29Merge branch 'fix-slash' of git://github.com/jrbasso/janssonPetri Lehtinen1-6/+14
2012-06-28Created flag to dump escaping slashJuan Basso1-5/+12
2012-06-27Escaping the slash when dumpJuan Basso1-2/+3
2012-04-29Support building on WindowsPetri Lehtinen1-2/+2
2012-03-20Update copyright notices for 2012Petri Lehtinen1-1/+1
2012-01-24Make hashtable less genericPetri Lehtinen1-14/+13
2011-11-14Revert "json_dump_file: Open the output file in wb mode"2.2Petri Lehtinen1-1/+1
2011-11-14Avoid problems with object's serial number growing too bigPetri Lehtinen1-2/+4
2011-10-07json_dump_file: Open the output file in wb modePetri Lehtinen1-1/+1
2011-10-02Make real number encoding and decoding work under all localesPetri Lehtinen1-17/+3
2011-09-24Implement all other encoding functions using json_dump_callbackPetri Lehtinen1-18/+5
2011-06-30new typedef json_dump_callback_t, function json_dump_callbackJKL1-7/+15
2011-05-14Add JSON_ENCODE_ANY flag to allow encoding any JSON valuePetri Lehtinen1-4/+8
2011-02-17Add custom memory allocationPetri Lehtinen1-6/+6