Commit Graph

60 Commits (fd02ea0c56e14cce9d4114c06b5a0d5e427fe4d8)

Author SHA1 Message Date
Krzysztof Gabis 3c4ee26dbb 1.5.1: Fixes a bug in json_object_clear. 2 years ago
Alexandru Ardelean 1314bf8ad6
1.5.0: Using memcpy instead of sprintf for string literals, adds json_set_number_serialization_function 2 years ago
Krzysztof Gabis a34e725282 1.4.0: Accepting trailing commas in objects and arrays 3 years ago
Krzysztof Gabis 4bd5797811 Fixes repository URL 3 years ago
Krzysztof Gabis 6e30db3599 Updates license (version and year). 3 years ago
Krzysztof Gabis af848c27b4 1.3.0: Adds json_set_float_serialization_format function. 3 years ago
Krzysztof Gabis fd77bcddc1 1.2.1: Not using SIZE_MAX macro (issue #167) 3 years ago
Krzysztof Gabis 6b3d6f42f2 1.2.0: JSON objects are now implemented using hash maps, PARSON_VERSION defines (issue #37) 3 years ago
Disconnect3d ab7f5e5401
Fix memleak when parsing keys with embedded null bytes (#157) 3 years ago
benswick 60b2c69f17
Improved serialization performance (#156) 4 years ago
reuben olinsky 102a4467e1
Add support for string values with embedded '\0' characters (#137) 5 years ago
Krzysztof Gabis 70dc239f8f Optional tests directory path argument in tests.c 5 years ago
Krzysztof Gabis 2be6991d84 Adds tests to avoid json_object_set_* memory leaks (fixed in 39c2d51). 5 years ago
Krzysztof Gabis c5bb9557fe Updates copyright year. 5 years ago
Akihiro Suda 9ec77a8d74 add SPDX-License-Identifier 5 years ago
Krzysztof Gabis 302fba9cbb Makes escaping slashes when serializing JSON optional (adds json_set_escape_slashes() function) 6 years ago
zolvarga 69684f600c Remove trailing spaces 6 years ago
Krzysztof Gabis 387c5665f6 Better handling of CRLF line breaks. 7 years ago
Krzysztof Gabis c147744b72 Workaround for MSVC C2124 error. 7 years ago
tbeu 1839d0de54 Fix typos 7 years ago
Krzysztof Gabis 4e8a901242 Changes float print format, removes array/object capacity limit, doesn't accept inf/nan numbers. 7 years ago
Krzysztof Gabis e18751499d Adds a simple memory leak test. 7 years ago
Krzysztof Gabis e1292a0e3c Small refactoring in parse_utf16 (+ tests) and typo fix in json_array_remove. 7 years ago
Krzysztof Gabis 578b25e590 Counting malloc and free calls to avoid memory leaks (#82). 7 years ago
Krzysztof Gabis 343fe13f17 Order of items in an array is preserved after removing an item. 7 years ago
Krzysztof Gabis e410fc7c33 Increases MAX_NESTING of json objects/arrays to 2048. 7 years ago
Krzysztof Gabis 2bfa4153db Updates copyright. 8 years ago
Krzysztof Gabis 96150ba1fd Removes dependency on sscanf and prints line numbers in tests output. 8 years ago
Krzysztof Gabis cb14736e96 Checking errno after strtod call. 8 years ago
Krzysztof Gabis f419334a32 Adds links to parent values and values used to wrap objects/arrays. Assigning a value to 2 objects/arrays returns an error now. 8 years ago
Krzysztof Gabis a1c356eaa9 Adds functions to check if object has value with a certain name (and optionally type). 8 years ago
Jacob Enget 9d6fbde0c4 Adds test that fails when validating array elements 8 years ago
Krzysztof Gabis 5c4a11b036 Removes trailing whitespace. 9 years ago
Krzysztof Gabis f860d3dd1b Accepting json texts that are not objects or arrays. 9 years ago
Krzysztof Gabis c9b920c4a3 Fixes a bug in json_array_remove and adds relevant tests (thanks to KB for finding this). 9 years ago
Krzysztof Gabis f16e4292f3 Using same code for determining serialization buffer size and serialization. Updated license year. 9 years ago
Krzysztof Gabis f4cfcd7699 Updates serialization example and readme.md 9 years ago
Krzysztof Gabis 6905548257 Pretty serialization + tests. 9 years ago
Krzysztof Gabis 7fd8dc1c4c UTF8 validation in json_value_init_string (+ tests). 10 years ago
Krzysztof Gabis 4a4cf7d795 Not parsing strings in json_value_init_string and *{set,dotset,replace,append}_string functions. 10 years ago
Krzysztof Gabis 0d5ac45286 Added additional null checks and tests. 10 years ago
Krzysztof Gabis 1058e3b2c0 Fixed bug in example code. 10 years ago
Krzysztof Gabis c88c775d23 Fixed floating point number comparison in tests (using fabs). 10 years ago
Krzysztof Gabis e4ac46318e Fixed memory leak in example. 10 years ago
Krzysztof Gabis 638190d6a0 Merged changes from parson-devel (serialization, copying, comparing, validation, creating values). 10 years ago
Krzysztof Gabis 6e9e934b5a Bugfix in parsing escaped characters (+ additional tests to prevent this bug in future). 10 years ago
Krzysztof Gabis c707051778 Added surrogate pairs support (JSON support is full now), removed PARSON_VERSION macro. 11 years ago
Krzysztof Gabis d5adf4e291 Added functions to parse file with comments and new tests. 11 years ago
Taro Kobayashi 155f7f0639 added test that will fails on android 12 years ago
Krzysztof Gabis c24b1a1ad0 Fixed type mismatch in array indexing variables, updated readme file. 12 years ago