Krzysztof Gabis
202f16cc5c
Additional code cleanup.
...
Removed redundant typedefs, renamed JSON_value_t to JSON_Value_Type and JSON_value_value to JSON_Value_Value to make names more consistent across project. Added project's name and url above license.
2012-11-03 19:52:49 +01:00
Krzysztof Gabis
ede8ea497a
Merge pull request #1 from sduclos/master
...
Code Clean UP
2012-11-03 11:30:13 -07:00
sduclos
684096eb0f
code clea up
2012-11-03 08:19:28 -04:00
Krzysztof Gabis
ee9be98974
Handling realloc, strdup and strndup errors.
...
Also moved void* cast in free to the parson_free macro.
2012-10-28 20:18:34 +01:00
Krzysztof Gabis
1f7049dd47
Fixed wrong conditional error and defined realloc as a macro.
...
Thanks to eps for pointing it out :)
2012-10-28 17:58:24 +01:00
Krzysztof Gabis
2684eeb360
Not parsing hex and octal values, refractoring, code cleanup, new tests.
...
Also changed parson_strndup and parson_strdup to be static.
2012-10-24 10:42:25 +02:00
Krzysztof Gabis
a3bb4c7390
Fixed error in the readme file.
2012-10-22 19:25:32 +02:00
Krzysztof Gabis
120f5a08da
Defined malloc and free as macros, also small refractoring.
...
And changes to the readme file.
2012-10-22 19:20:02 +02:00
Krzysztof Gabis
5edab75bdc
Checking malloc errors, added limits on nesting and object/array size.
...
Also small refractoring and one new test regarding nesting.
2012-10-19 16:24:24 +02:00
Krzysztof Gabis
e36fa2ab41
Changes in README.md
2012-10-18 21:37:03 +02:00
Krzysztof Gabis
9e64c0f031
Changed int to size_t to avoid signed/unsigned comparisons
2012-10-18 21:17:16 +02:00
Krzysztof Gabis
410807850e
Fixed some compatibility issues with C++ compilers.
...
Added error type to json value types. Also implemented strdup and strndup, since they can be problematic and are not implemented everywhere.
2012-10-18 18:36:58 +02:00
Krzysztof Gabis
2740213c5c
Renamed bool to boolean.
...
Naming variables bool is a poor idea, even in C.
2012-10-18 15:25:11 +02:00
Krzysztof Gabis
cad9bda1e4
Included stddef.h in parson.c
2012-10-16 22:32:24 +02:00
Krzysztof Gabis
de829803e3
Initial commit.
2012-10-16 19:56:54 +02:00