86 Commits
Author SHA1 Message Date
James Newton-King 197c6db94a Update tests to use .NET 6 (#2674) 2022-05-15 21:40:07 +08:00
TylerBrinkley ff6f51b667 Added KebabCaseNamingStrategy 2019-10-05 19:49:18 +13:00
James Newton-King d48558b53b Add support for NamingStrategy to StringEnumConverter (#1885) 2018-10-21 18:27:00 +13:00
James Newton-King 6dd352c490 Fix calling constructors with ref and in parameters (#1728) 2018-05-29 10:46:51 +12:00
Tyler Brinkley 94a4dbf7fe De-serialization of Decimal not always overflowing when it should (#1668) 2018-04-22 12:28:15 +12:00
James Newton-King 92fea48779 -Improved error when serializing FileInfo/DirectoryInfo without ISerializable 2018-01-01 18:47:12 +13:00
James Newton-King eb85ba3f7c -Refactored enum name writing
-Improved performance of reading and writing enum names
-Tests
2018-01-01 13:15:08 +13:00
James Newton-King 51c9547dbc -Refactor enum parsing 2017-12-28 10:48:56 +13:00
Kristof Mattei 122afba990 Updated StringUtils.ToCamelCase to fix an edge case. (#1467) 2017-10-22 17:10:03 +13:00
James Newton-King 81b0e443ff -Tests 2017-08-13 10:44:07 +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 aa5f28c097 -Added Portable40 back 2017-04-02 10:24:09 +12:00
James Newton-King 73652124cd -Changed double parsing back to double.TryParse 2017-03-27 22:20:47 +13:00
James Newton-King ba514c4610 -Cleaned up preprocessor symbols 2017-03-05 15:12:52 +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 cc6d99aa60 Migrate project.json to csproj (#1212) 2017-02-13 23:46:43 +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 0115df6e39 Merge branch 'master' into Move-classes-to-files-under-TestObjects
# Conflicts:
#	Src/Newtonsoft.Json.Tests/Converters/IsoDateTimeConverterTests.cs
#	Src/Newtonsoft.Json.Tests/Linq/JObjectTests.cs
#	Src/Newtonsoft.Json.Tests/Schema/ExtensionsTests.cs
#	Src/Newtonsoft.Json.Tests/Serialization/DependencyInjectionTests.cs
#	Src/Newtonsoft.Json.Tests/Serialization/ExtensionDataTests.cs
#	Src/Newtonsoft.Json.Tests/Serialization/PopulateTests.cs
#	Src/Newtonsoft.Json.Tests/Serialization/TypeNameHandlingTests.cs
#	Src/Newtonsoft.Json.Tests/TestObjects/Money/Currency.cs
2016-10-13 14:49:15 +13:00
Pyit Phyo Aung 42d6225acd Move more classes to files under TestObjects 2016-10-13 12:29:26 +13:00
Pyit Phyo Aung f50f276b76 Clean up NETFX_CORE directive usage 2016-10-11 14:14:13 +13:00
James Newton-King ca27a0fc3a -Added TypeNameAssemblyFormatHandling
-Added TypeNameAssemblyFormatHandling properties to JsonSerializer and JsonSerializerSettings
-Changed TypeNameAssemblyFormat properties on JsonSerializer and JsonSerializerSettings to obsolete
2016-09-17 15:57:03 +12:00
James Newton-King a0403492ad -Tests 2016-09-13 16:51:39 +12: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 fbcac63b1b Merge branch 'master' into eisber-master 2016-07-24 15:07:51 +12:00
James Newton-King 3c028dd443 -Build 2016-07-24 15:07:37 +12:00
James Newton-King 38a687f683 -DoubleTryParse fixes and tests 2016-07-24 12:29:43 +12:00
James Newton-King 6d7ac14313 -Fixed DynamicReflectionDelegateFactory creating typed value type constructors 2016-07-20 14:09:56 +12:00
James Newton-King 9eb14a6590 -Minor fixes 2016-05-31 00:27:51 +12:00
James Newton-King 52fbb613d7 -Refactored naming strategy to be an abstract base class 2016-05-28 23:56:58 +12:00
James Newton-King e31200aead -Fixed dynamic property getter type information 2016-05-01 17:23:48 +12:00
Christian Rondeau 964571a97e Ensure future updates won't break camel casing of property names with numbers 2016-03-24 23:36:15 -04:00
James Newton-King eacb191f97 -Fixed F# serialization partial trust issue 2016-03-05 11:49:39 +13:00
Tydude4Christ d9ff3ee160 Fixes ToCamelCase bug #828 2016-03-01 13:36:36 -06:00
James Newton-King eb0cbd6a75 -Formatting
-Build
2015-12-04 23:54:38 +13:00
James Newton-King c96779dc10 -Fixed deserializing certain Microsoft formated dates 2015-11-28 21:48:10 +13:00
James Newton-King 331fcc0ebb -Added support for 24 hour ISO dates 2015-11-23 20:15:37 +13:00
James Newton-King a3eb2d596c -Fixed DateTimeZoneHandling not being used when writing DateTime dictionary keys
-Buffer pooling fixes
-Improved date parsing performance
2015-11-14 15:22:59 +13:00
James Newton-King ac1a46bd14 -Added IJsonBufferPool, performance stuff 2015-11-12 22:08:39 +13:00
James Newton-King ad68ea8780 -Added JsonConstructorAttribute support for lists and dictionaries 2015-10-03 14:10:39 +13:00
James Newton-King ddfd52f79c -Fixed 32 bit integer number parsing bug 2015-09-11 17:48:41 +12:00