Commit Graph

  • 473c7f3d8d Adds json_object_get_value_at function to access values in objects in O(1) time. Krzysztof Gabis 2016-04-23 11:59:34 +0200
  • 77ef99571e Avoiding _CRT_SECURE_NO_WARNINGS redefinition. Krzysztof Gabis 2016-04-23 11:42:09 +0200
  • 0c04a7e678 Removes unnecessary SKIP_WHITESPACES. Krzysztof Gabis 2016-04-16 12:35:44 +0100
  • f860d3dd1b Accepting json texts that are not objects or arrays. Krzysztof Gabis 2016-04-16 12:30:46 +0100
  • 4694c90543 Merge 78922f6009 into 19c1175064 #38 noyez 2016-03-28 19:48:33 +0000
  • 78922f6009 Adding the ability to count lines parsed. #38 Bradley Noyes 2016-03-28 15:42:40 -0400
  • 19c1175064 Fixes a bug where fopen() error was being ignored. Krzysztof Gabis 2016-03-03 18:52:30 +0000
  • d7726760e0 Merge pull request #35 from vovanec/patch-1 Krzysztof Gabis 2016-02-08 20:50:21 +0100
  • c27133715b Fixed error condition on malloc failure. #35 Volodymyr Kuznetsov 2016-02-05 13:31:05 -0800
  • c9b920c4a3 Fixes a bug in json_array_remove and adds relevant tests (thanks to KB for finding this). Krzysztof Gabis 2016-01-13 20:47:47 +0000
  • 8324ff92bf Escaping / to make json embeddable in xml\/html. Krzysztof Gabis 2015-11-08 16:34:34 +0000
  • 849f00728b parson should compile with c++ compilers (again). Krzysztof Gabis 2015-10-05 08:37:25 +0100
  • 86a5a20856 Adds comments regarding memory management. Krzysztof Gabis 2015-07-15 22:29:14 +0100
  • 18761d99ff Checking if json_serialization_size failed. Krzysztof Gabis 2015-07-03 19:12:48 +0100
  • 8eb5eab54d Checking if serialization_size is <0 before casting from int to size_t. Krzysztof Gabis 2015-07-01 19:24:16 +0100
  • f16e4292f3 Using same code for determining serialization buffer size and serialization. Updated license year. Krzysztof Gabis 2015-06-26 00:12:06 +0200
  • 83a0a3e133 Changed "json_serialize_to_buffer_r" to return number of written characters. Krzysztof Gabis 2015-06-25 12:11:01 +0200
  • f4538fa53d Small change in test files. Krzysztof Gabis 2015-06-22 23:55:26 +0200
  • d9318845fd Create gh-pages branch via GitHub Krzysztof Gabis 2015-06-22 19:31:01 +0200
  • f4cfcd7699 Updates serialization example and readme.md Krzysztof Gabis 2015-06-22 19:30:06 +0200
  • 6905548257 Pretty serialization + tests. Krzysztof Gabis 2015-06-22 16:53:19 +0200
  • 1586461280 Adds function to change default allocator, fixes potential memory leak, refactoring. Krzysztof Gabis 2015-06-01 22:26:31 +0100
  • 7fd8dc1c4c UTF8 validation in json_value_init_string (+ tests). Krzysztof Gabis 2015-05-03 12:55:48 +0100
  • 7ead2102b8 Merge pull request #29 from i-rinat/fixups Krzysztof Gabis 2015-04-29 21:49:51 +0100
  • 9782447a74 free temporary JSON_Value's on failure #29 Rinat Ibragimov 2015-04-29 22:44:17 +0300
  • 717e551cb2 free memory after json_value_init_string_no_copy() failure Rinat Ibragimov 2015-04-29 21:46:18 +0300
  • 33b77673cb check if ftell() returns -1 Rinat Ibragimov 2015-04-29 21:27:41 +0300
  • 2b4d17b337 Replaced strlen in process_string with pointer arithmetic. Krzysztof Gabis 2015-04-25 18:31:35 +0100
  • 4a4cf7d795 Not parsing strings in json_value_init_string and *{set,dotset,replace,append}_string functions. Krzysztof Gabis 2015-04-06 10:12:04 +0200
  • 0d5ac45286 Added additional null checks and tests. Krzysztof Gabis 2015-04-05 15:26:58 +0200
  • 54fecb1ac3 Merge 9dbd33a0df into 81c2fd0186 #25 Jan Stürtz 2015-04-02 09:14:26 +0000
  • 9dbd33a0df Added failing test #25 Jan Stuertz 2015-04-02 10:52:41 +0200
  • 13e51b35a3 Test erweitert Jan Stuertz 2015-04-02 08:25:59 +0200
  • 81c2fd0186 Merge pull request #23 from michaelsproul/no-exec-perms Krzysztof Gabis 2015-03-01 09:36:38 +0000
  • fcf0b810ba Marked various files as not executable. #23 Michael Sproul 2015-02-28 20:33:17 -0800
  • b62505a87b write serialized string to file in test. #27 Tobias Schoenit 2014-12-27 22:28:00 +0100
  • 53b9473fbe implemented json_serialize_to_string_pretty Tobias Schoenit 2014-12-27 22:22:22 +0100
  • 538b1609d0 added new method json_count_characters Tobias Schoenit 2014-12-27 21:39:19 +0100
  • 7a941e6fc6 replaced fprintfs with context printf function Tobias Schoenit 2014-12-27 21:30:23 +0100
  • fa479bf334 added function pointer to context for variable serialization strategies Tobias Schoenit 2014-12-27 20:58:48 +0100
  • df71e519d9 moved serialization context to implementation file Tobias Schoenit 2014-12-27 20:42:54 +0100
  • 308fe55cbe replaced unicode character sequence with unicode literal escapes Tobias Schoenit 2014-12-27 20:25:55 +0100
  • db2d4140ce added test for pretty print serialization Tobias Schoenit 2014-12-27 19:16:38 +0100
  • 3c4d63d7cf Merge acf9f7c257 into 1058e3b2c0 #22 schoetbi 2014-12-16 20:29:22 +0000
  • acf9f7c257 pretty functions relocated to parson.c #22 Tobias Schoenit 2014-12-16 21:28:07 +0100
  • a040f92d9c first pretty test Tobias Schoenit 2014-12-16 21:23:40 +0100
  • 1dcb778e8c Create gh-pages branch via GitHub Krzysztof Gabis 2014-11-24 21:05:13 +0100
  • 1058e3b2c0 Fixed bug in example code. Krzysztof Gabis 2014-11-24 21:04:15 +0100
  • f57f2d94bb No longer escaping '/' when serializing. Krzysztof Gabis 2014-11-23 20:13:39 +0100
  • c88c775d23 Fixed floating point number comparison in tests (using fabs). Krzysztof Gabis 2014-11-23 12:39:47 +0100
  • 69927e1612 Merge pull request #18 from gageas/master Krzysztof Gabis 2014-11-12 13:40:06 +0000
  • 775b2b21d0 Fix compile error on C++ compiler. (mismatch between char* and const char*) #18 @gageas 2014-11-12 19:32:09 +0900
  • 6483743634 Create gh-pages branch via GitHub Krzysztof Gabis 2014-10-08 14:48:44 +0200
  • e4ac46318e Fixed memory leak in example. Krzysztof Gabis 2014-10-08 14:45:39 +0200
  • f0f0cd2a2f Create gh-pages branch via GitHub Krzysztof Gabis 2014-10-08 09:59:59 +0200
  • 638190d6a0 Merged changes from parson-devel (serialization, copying, comparing, validation, creating values). Krzysztof Gabis 2014-10-07 21:11:29 +0200
  • 1a42ad6a36 Merge 2eb37ec2e3 into 55856a2eab #17 Huang Bin 2014-09-29 09:10:55 +0000
  • 2eb37ec2e3 add support for converting a Json-value to a string. #17 huangbin 2014-09-29 17:09:58 +0800
  • b48ca84a38 Merge 82f41d0571 into 55856a2eab #16 Emmanuel Odeke 2014-09-15 09:21:07 +0000
  • 82f41d0571 Conforming to custom free func usage #16 Emmanuel Odeke 2014-09-15 03:21:01 -0600
  • c16886b533 Added functionality to read jsons when given a file descriptor Emmanuel Odeke 2014-09-15 01:46:32 -0600
  • 55856a2eab Changes to readme. Krzysztof Gabis 2014-07-29 21:27:19 +0200
  • 6e9e934b5a Bugfix in parsing escaped characters (+ additional tests to prevent this bug in future). Krzysztof Gabis 2014-06-10 20:59:35 +0200
  • 773d7cd630 Merge 56447664ab into c707051778 #15 Joseph Werle 2014-06-10 07:21:17 +0000
  • 56447664ab add fix and test for url slash fix #15 Joseph Werle 2014-06-10 03:19:19 -0400
  • c707051778 Added surrogate pairs support (JSON support is full now), removed PARSON_VERSION macro. Krzysztof Gabis 2014-04-10 17:00:40 +0200
  • 19a0d79db4 Merge pull request #13 from indutny/fix/handling-files-with-whitespace Krzysztof Gabis 2014-04-03 21:18:15 +0200
  • ce73431753 Skip whitespace at the start of string/file #13 Fedor Indutny 2014-04-03 14:59:03 +0400
  • 148e0ccbef Merge pull request #12 from stephenmathieson/fix/memory-leak Krzysztof Gabis 2013-12-06 12:32:21 -0800
  • 4413910346 Fix memory leak #12 Stephen Mathieson 2013-12-06 14:31:18 -0500
  • 08a4396b32 Fixed warnings and error resulting in printing string without comments (old debug statement). Krzysztof Gabis 2013-11-30 20:35:55 +0100
  • d901014d55 New lines after flow control statements are now consistent. Krzysztof Gabis 2013-11-30 20:28:55 +0100
  • d5adf4e291 Added functions to parse file with comments and new tests. Krzysztof Gabis 2013-11-30 20:22:16 +0100
  • 080325e566 Merge pull request #11 from stephenmathieson/add/package.json Krzysztof Gabis 2013-11-25 13:45:45 -0800
  • 18fe24a8c0 adding a package.json file #11 Stephen Mathieson 2013-11-24 23:14:48 -0500
  • a8c04faa39 Merge pull request #10 from spt5007/master Krzysztof Gabis 2013-10-25 13:09:38 -0700
  • 3585c6d030 Check ferror if fread call fails in json_parse_file #10 Sean Turley 2013-10-25 15:18:35 -0400
  • 713b563375 Merge pull request #8 from sylvain-miermont/master Krzysztof Gabis 2013-10-10 10:35:18 -0700
  • 41bb5aa318 Merge cbb51719cf into a024f1197c #8 Sylvain Miermont 2013-10-10 05:34:09 -0700
  • cbb51719cf Checking that fread *actually* succeeds, fix the warning bellow when compiling with -O1, -O2 or -O3. "warning: ignoring return value of 'fread', declared with attribute warn_unused_result" #8 Sylvain Miermont 2013-10-10 14:28:45 +0200
  • a024f1197c Merge pull request #6 from spotmx/macrobug Krzysztof Gabis 2013-07-02 09:26:10 -0700
  • 7b57812642 Merge 7ee068b7a6 into 9dfee46821 #6 Erik Dubbelboer 2013-07-02 09:04:44 -0700
  • 7ee068b7a6 Fix macro argument bug #6 Erik Dubbelboer 2013-07-02 18:01:20 +0200
  • 9dfee46821 Merge pull request #5 from 9re/master Krzysztof Gabis 2013-02-07 00:27:28 -0800
  • 5cc5b666ca Merge 155f7f0639 into 29595c80ec #5 Taro Kobayashi 2013-02-07 00:24:59 -0800
  • 155f7f0639 added test that will fails on android #5 Taro Kobayashi 2013-02-07 17:23:57 +0900
  • cfbf517166 ignore only 0x00-0x19 to support utf-8 characters Taro Kobayashi 2013-02-07 15:37:27 +0900
  • 29595c80ec Accepting DEL characters in strings. Krzysztof Gabis 2012-12-12 20:28:35 +0100
  • c4af3f9583 Changed object's and array's initlalization to be lazy. Krzysztof Gabis 2012-12-11 11:47:18 +0100
  • ee3a3c113e Create gh-pages branch via GitHub Krzysztof Gabis 2012-12-02 13:25:33 -0800
  • d1ca0ed4f3 Readme file update. Krzysztof Gabis 2012-12-02 22:23:39 +0100
  • fbf95f9b41 Create gh-pages branch via GitHub Krzysztof Gabis 2012-12-02 09:41:12 -0800
  • f48d84bc2c Makefile update. Krzysztof Gabis 2012-12-02 18:40:13 +0100
  • c24b1a1ad0 Fixed type mismatch in array indexing variables, updated readme file. Krzysztof Gabis 2012-12-02 18:33:00 +0100
  • 962d9f13ba Added makefile. Krzysztof Gabis 2012-12-02 18:16:12 +0100
  • b2dbaece40 Fixed issue with MSVC and unicode characters. Krzysztof Gabis 2012-12-02 11:15:48 +0100
  • 104950c29c Merge 21a8a295cb into 457fa1100f #2 Harry 2012-11-27 10:50:41 -0800
  • 21a8a295cb UTF-8 encoding stol... ahem, *borrowed* from akheron/jansson #2 Harry Roberts 2012-11-27 18:43:54 +0000
  • 23572fa680 Basic JSON serializer Harry Roberts 2012-11-27 12:35:59 +0000
  • 457fa1100f Small code cleanup, narrower example code in tests and readme. Krzysztof Gabis 2012-11-24 20:59:16 +0100