Commit Graph

48 Commits (2be6991d84b77d12727c535a5c0a426d1e6142a7)

Author SHA1 Message Date
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. 6 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. 7 years ago
Krzysztof Gabis 96150ba1fd Removes dependency on sscanf and prints line numbers in tests output. 7 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. 8 years ago
Krzysztof Gabis f860d3dd1b Accepting json texts that are not objects or arrays. 8 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). 9 years ago
Krzysztof Gabis 4a4cf7d795 Not parsing strings in json_value_init_string and *{set,dotset,replace,append}_string functions. 9 years ago
Krzysztof Gabis 0d5ac45286 Added additional null checks and tests. 9 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. 10 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
Krzysztof Gabis 457fa1100f Small code cleanup, narrower example code in tests and readme. 12 years ago
Krzysztof Gabis aaf1d45f16 Code refractoring. 12 years ago
Krzysztof Gabis 202f16cc5c Additional code cleanup. 12 years ago
sduclos 684096eb0f code clea up 12 years ago
Krzysztof Gabis 2684eeb360 Not parsing hex and octal values, refractoring, code cleanup, new tests. 12 years ago
Krzysztof Gabis 120f5a08da Defined malloc and free as macros, also small refractoring. 12 years ago
Krzysztof Gabis 5edab75bdc Checking malloc errors, added limits on nesting and object/array size. 12 years ago
Krzysztof Gabis 410807850e Fixed some compatibility issues with C++ compilers. 12 years ago
Krzysztof Gabis 2740213c5c Renamed bool to boolean. 12 years ago
Krzysztof Gabis de829803e3 Initial commit. 12 years ago