Commit graph

16 commits

Author SHA1 Message Date
qmathe
16fc05ced5 Fixed double number JSON serialization to encode 17 significant digits (this
matches the max number of significant digits in the double-precision floating 
point format). This prevents a loss of precision, in case the number has more 
than 3 digits after the decimal point.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37556 72102866-910b-0410-8b05-ffd578937521
2014-01-07 19:20:00 +00:00
rfm
ae4347ee40 cope with output of large integers
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37117 72102866-910b-0410-8b05-ffd578937521
2013-09-19 14:17:56 +00:00
rfm
1483924463 leak detection improvements
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37003 72102866-910b-0410-8b05-ffd578937521
2013-08-22 15:44:54 +00:00
rfm
022d588467 Changes for 64bit clean printf format strings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36810 72102866-910b-0410-8b05-ffd578937521
2013-07-03 06:46:41 +00:00
rfm
d26640c7ab tweaks to keep static analyzer happy
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@36527 72102866-910b-0410-8b05-ffd578937521
2013-04-14 16:25:27 +00:00
rfm
fcd6be710e make code more robust when there's no autorelease pool.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35706 72102866-910b-0410-8b05-ffd578937521
2012-10-17 13:47:11 +00:00
rfm
7302652db0 fix json quoting by copying from webservices library
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35559 72102866-910b-0410-8b05-ffd578937521
2012-09-10 13:18:29 +00:00
rfm
2a32245d60 improve serialisation of booleans
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35557 72102866-910b-0410-8b05-ffd578937521
2012-09-10 10:27:59 +00:00
rfm
872d1e3ff7 minor fix for output format
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34853 72102866-910b-0410-8b05-ffd578937521
2012-03-01 09:30:13 +00:00
rfm
33819c457f small parsing fixes suggested by Lubomir Rintel <lubo.rintel@gooddata.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34750 72102866-910b-0410-8b05-ffd578937521
2012-02-14 18:28:17 +00:00
rfm
ae9a3339fb JSON fixups thanks to Lubomir Rintel <lubo.rintel@gooddata.com>
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34681 72102866-910b-0410-8b05-ffd578937521
2012-01-31 16:32:40 +00:00
rfm
39da8b22e2 fix buffer overrun
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34667 72102866-910b-0410-8b05-ffd578937521
2012-01-30 15:26:09 +00:00
rfm
34f183865b whitespace tweaks
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34411 72102866-910b-0410-8b05-ffd578937521
2012-01-04 12:38:18 +00:00
rfm
3415a59abe fix errors in BOM handling
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@34187 72102866-910b-0410-8b05-ffd578937521
2011-11-18 05:19:50 +00:00
fredkiefer
e8ee222d6d * Source/NSJSONSerialization.m: Get this file to compile with
standard gcc settings fro GNUstep.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33633 72102866-910b-0410-8b05-ffd578937521
2011-07-25 20:30:39 +00:00
theraven
1d43e6de35 Added NSJSONSerialization (10.7) implementation. The code path reading from an NSInputStream is not well tested - please try and break it!
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@33631 72102866-910b-0410-8b05-ffd578937521
2011-07-25 15:50:51 +00:00