Krzysztof Gabis
0341880552
Using semantic versioning from now on, Parson is officially 1.0.0
5 years ago
Krzysztof Gabis
de7fbfac12
Merge pull request #124 from DasRoteSkelett/bugfix/locationCmakeConfigFilesOnInstall
...
CMakeLists.txt: Minimal fixes, added GNUInstallDirs and fixed cmake c…
5 years ago
Krzysztof Gabis
2be6991d84
Adds tests to avoid json_object_set_* memory leaks (fixed in 39c2d51
).
5 years ago
Krzysztof Gabis
39c2d51c52
Merge pull request #128 from danellis/master
...
Fix memory leaks in `parson_object_set_*` when `object` is invalid
5 years ago
Dan Ellis
9e1de5086f
Fix memory leaks in `parson_object_set_*` when `object` is invalid
5 years ago
Matthias Schoepfer
da126c2aba
CMakeLists.txt: Minimal fixes, added GNUInstallDirs and fixed cmake config loc
...
Also set version for proper shared lib
Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
5 years ago
Krzysztof Gabis
c5bb9557fe
Updates copyright year.
5 years ago
Krzysztof Gabis
409afcb437
Merge pull request #121 from AkihiroSuda/spdx
...
add SPDX-License-Identifier
5 years ago
Akihiro Suda
9ec77a8d74
add SPDX-License-Identifier
...
SPDX-License-Identifier is useful to clarify the license (both for humans and
machines), especially when the code of the project is embedded into other
projects.
ref: https://spdx.org/using-spdx-license-identifier
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
5 years ago
Krzysztof Gabis
33e5519d0a
Merge pull request #120 from ewertons/master
...
Add CMakeLists.txt with install definitions
5 years ago
Ewerton Scaboro da Silva
74ea152aa7
Add CMakeLists.txt with install definitions
5 years ago
Krzysztof Gabis
809ef4b7d8
Update README.md
6 years ago
Krzysztof Gabis
2e2e36651d
Shamelesser plug
6 years ago
Krzysztof Gabis
395e70d85b
Shameless plug
6 years ago
Krzysztof Gabis
302fba9cbb
Makes escaping slashes when serializing JSON optional (adds json_set_escape_slashes() function)
...
Issues #20 #34 #90
6 years ago
Krzysztof Gabis
0a1896939f
Merge pull request #105 from zolvarga/master
...
Remove trailing spaces
6 years ago
zolvarga
69684f600c
Remove trailing spaces
6 years ago
Krzysztof Gabis
b58ac757a8
Using isnan and isinf macros if they are defined (fixes issue #104 ).
6 years ago
Krzysztof Gabis
4f3eaa6849
Not adding incorrect objects if json_object_dotset_value() fails halfway through.
...
Related to issue #100
6 years ago
Krzysztof Gabis
921da6f5d7
Using smaller buffer size for number serialization.
...
Issue #88 and #61
7 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
Krzysztof Gabis
bef4969d25
Merge pull request #91 from JetstreamRoySprowl/master
...
Fix signed char fed to isspace
7 years ago
Roy Sprowl
385b476a30
Fix signed char fed to isspace
7 years ago
Krzysztof Gabis
b87a27c15c
Merge pull request #89 from lunixoid/master
...
Fixed condition
7 years ago
Roman Kalashnikov
f1bb6e7fbe
Fixed condition
7 years ago
Krzysztof Gabis
e112626cb5
Create LICENSE file
...
issue #87
7 years ago
Krzysztof Gabis
243bccb51d
Merge pull request #85 from tbeu/fix-typos
...
Fix typos
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.
...
Issue #81
7 years ago
Krzysztof Gabis
d485b068c7
Fixes a memory leak (issue #82 ).
7 years ago
Krzysztof Gabis
e410fc7c33
Increases MAX_NESTING of json objects/arrays to 2048.
...
Fixes #75
8 years ago
Krzysztof Gabis
dd9eed2af2
Updates README.md because github changed it's markdown renderer.
8 years ago
Krzysztof Gabis
20ad63f8ff
Fixes memory leaks.
...
Thanks to Thales de Carvalho for finding this and submitting a patch.
8 years ago
Krzysztof Gabis
ba2a854c27
Fixes undefined behaviour as reported by clang ub sanitizer.
...
Issue #72
8 years ago
Krzysztof Gabis
2bfa4153db
Updates copyright.
8 years ago
Krzysztof Gabis
96150ba1fd
Removes dependency on sscanf and prints line numbers in tests output.
...
Some libraries don't have sscanf and since it wasn't used heavily it was easily replaced with a custom function. This doesn't mean that sscanf won't be used in future though (but I'll try to avoid it).
Fixes #68 . Thanks to @compulim for initial work on this issue.
8 years ago
Krzysztof Gabis
cb14736e96
Checking errno after strtod call.
8 years ago
Krzysztof Gabis
defb57f2d3
Some extra null checks (issue #60 ).
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.
...
Addresses issues #66 and #30 .
8 years ago
Krzysztof Gabis
dcf85b88c8
Support for UTF-8 with BOM.
...
Fixes #65
8 years ago
Krzysztof Gabis
b61c03e614
Updates README.md.
8 years ago
Krzysztof Gabis
1bcab43c38
Merge pull request #55 from jmlemetayer/unsigned
...
Add support to print unsigned integers
8 years ago
Jean-Marie Lemetayer
d198f6ebfe
Add support to print unsigned integers
...
Else numbers between INT_MAX and UINT_MAX will be printed using double format
8 years ago
Krzysztof Gabis
642f0cb4f5
Merge pull request #52 from t-k-/escape
...
Further escape \x00 - \x1F control characters.
8 years ago
t-k-
7b90bbbf24
Further escape \x00 - \x1F control characters.
8 years ago