22 Commits
Author SHA1 Message Date
Tyler Brinkley 94a4dbf7fe De-serialization of Decimal not always overflowing when it should (#1668) 2018-04-22 12:28:15 +12:00
Tyler Brinkley 8cfddc4da5 Fixes preserving trailing zeros when deserializing decimals (#1368)
* Fixes preserving trailing zeros when deserializing decimals

* Update to use constant.
2017-07-09 11:58:12 +12:00
James Newton-King c89b5b45aa -Build 2017-04-08 14:59:31 +12:00
James Newton-King 73652124cd -Changed double parsing back to double.TryParse 2017-03-27 22:20:47 +13:00
James Newton-King ce04999633 -Tests 2017-02-25 17:32:59 +13:00
Tyler Brinkley 4600bc54b8 Optimized decimal parsing (#1204) 2017-02-25 10:31:50 +13:00
James Newton-King 73b5d2c409 -Test 2017-01-23 15:10:10 +13:00
James Newton-King c9cfff4fed -Changed exception thrown when parsing invalid Unicode escape sequence to JsonReaderException 2017-01-23 15:07:16 +13:00
Pyit Phyo Aung f50f276b76 Clean up NETFX_CORE directive usage 2016-10-11 14:14:13 +13:00
James Newton-King ca3af212de -Fixed double parsing bug 2016-09-11 17:06:53 +12:00
James Newton-King 5dd9f0a904 -Change double parsing validation to match JSON spec 2016-09-11 16:09:08 +12:00
TylerBrinkley 7fa2cde56d Allow doubles that start with a decimal and doubles that have an 'E' right after the decimal. 2016-09-06 08:39:52 -05:00
TylerBrinkley 62470bd803 Fixed overflowing exponent bug 2016-09-01 14:05:49 -05:00
TylerBrinkley 5fd78b21f5 Made mantissa be stored in a ulong instead of double to prevent accumulating numeric error.
Added case where if the negative exponent is less than 23 to divide from the positive exponents array to pass unit tests.
2016-08-29 11:19:21 -05:00
James Newton-King 12d4e1632d -Tests 2016-08-09 12:58:11 +12:00
James Newton-King a98ffca811 -DoubleTryParse WIP 2016-08-09 12:36:37 +12:00
James Newton-King 4f86f6b79e -Tests 2016-07-25 19:53:40 +12:00
James Newton-King 38a687f683 -DoubleTryParse fixes and tests 2016-07-24 12:29:43 +12:00
James Newton-King eb0cbd6a75 -Formatting
-Build
2015-12-04 23:54:38 +13:00
James Newton-King ac1a46bd14 -Added IJsonBufferPool, performance stuff 2015-11-12 22:08:39 +13:00
James Newton-King ddfd52f79c -Fixed 32 bit integer number parsing bug 2015-09-11 17:48:41 +12:00
James Newton-King 85e7968ed9 -Fixed documentation typo
-Fixed error when serializing some interfaces with hidden properties
-Fixed some large integers being incorrectly read from JSON
2015-08-30 22:24:57 +12:00