Commit Graph
1095 Commits
Author SHA1 Message Date
James Newton-King 312508358f -Tests 2018-01-15 19:36:29 +13:00
James Newton-King 4f7fc79571 -Test 2018-01-12 15:07:03 +13:00
James Newton-King 474a53e031 -Test 2018-01-11 22:18:31 +13:00
James Newton-King c445141fc6 -Fixed JsonTextReader sync read in async method 2018-01-11 16:18:04 +13:00
James Newton-King 2c90c2740d -Test 2018-01-09 12:00:08 +13:00
James Newton-King e57cb6acea -Fixed regression serializing decimal value 2018-01-03 10:22:19 +13:00
James Newton-King 3274b9ab67 -Fixed serializing nullable collections 2018-01-01 20:38:31 +13: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 b49f6bc0ec -Improved error message when serialize ByRef properties 2017-12-28 15:06:19 +13:00
James Newton-King 33022960b6 -Tests 2017-12-28 11:45:20 +13:00
James Newton-King 51c9547dbc -Refactor enum parsing 2017-12-28 10:48:56 +13:00
gilad61 e5e901c6d0 Update initialDepth for error handling (#1550)
* Fix target depth when skipping over handled errors

Keep reading until the reader reaches the initial depth rather than initial depth + 1

* Fix the initialDepth when handling errors in lists

The initialDepth should be +1 when handling deserialization errors in lists and arrays in order to not skip subsequent items

* Add unit tests for dictionary error handling

Ignoring errors in dictionary object by completely removing the bad items from the dictionary
2017-12-26 08:47:41 +13:00
James Newton-King 69640e88d8 -Tests 2017-12-22 12:26:28 +13:00
Yang Wang f386cc2c48 Fixed issue #1545 (#1548) 2017-12-22 12:11:27 +13:00
James Newton-King 2f87c2cdda -Tests 2017-12-20 16:16:27 +13:00
Jon Hanna 1b40ebfe26 Apply fix to #1460 to async writing. (#1540)
* Apply fix to #1460 to async writing.

* Replace recursion with iteration.

* Test for 1460 in async use.

* Change infinite loop style.
2017-12-20 16:06:07 +13:00
Mark Pflug 3ea750d6d6 Performance optimization for integer value serialization. (#1544)
* Performance optimization for integer serialization.

* Add int32 overloads for integer formatter.

* fix parameter name

* Prefer using the faster, 32 bit division code path, when possible.

* fix code formatting

* fix uint range check, add test coverage
2017-12-20 11:08:09 +13:00
James Newton-King 90514188c0 -Test 2017-12-05 14:25:15 +13:00
James Newton-King d0d01f2a36 -Fixed merging null string values 2017-12-04 18:53:50 +13:00
James Newton-King 977884d779 -Test 2017-11-29 17:02:25 +13:00
James Newton-King efb4f3d64f -Build 2017-11-26 13:22:30 +13:00
James Newton-King 2c9d9b9598 -Updated NuGet packages
-Fixed xunit warnings
2017-11-26 13:00:07 +13:00
James Newton-King a138852994 -Changed JObject.ContainsKey to public 2017-11-26 10:13:13 +13:00
James Newton-King 08ea72b72b Merge branch 'issue/1429' of https://github.com/paulirwin/Newtonsoft.Json into paulirwin-issue/1429 2017-11-08 14:52:07 +13:00
James Newton-King 1584588f03 -Missing file header 2017-11-08 09:59:51 +13:00
James Newton-King 48be21d4ce -Changed ISerializable serialization to require SerializableAttribute 2017-11-04 17:53:17 +13:00
Paul Irwin 28405e7309 Per discussion on #1429, rename NullValueHandling to ItemNullValueHandling 2017-11-02 11:22:27 -04:00
Paul Irwin 7d44b61c32 Resolve #1429 for JsonObjectAttribute only: add NullValueHandling property 2017-11-02 10:55:08 -04:00
James Newton-King be032b562e -Documentation 2017-10-22 23:25:15 +13:00
James Newton-King 90976eb6ed -Fixed error when writing unknown null value as JSON 2017-10-22 19:26:57 +13:00
James Newton-King a8e606dcf5 Merge branch 'master' of https://github.com/JamesNK/Newtonsoft.Json 2017-10-22 17:48:49 +13:00
James Newton-King 4494e523d5 -Test 2017-10-22 17:48:28 +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 4a74cf1b1a -Fixed deserializing with constructor and readonly collection property 2017-10-22 13:03:33 +13:00
James Newton-King 12f886ab99 -Test
-Minor refactor
2017-10-19 23:54:19 +13:00
James Newton-King 3eabd15a19 -Test 2017-10-16 19:39:21 +13:00
James Newton-King 78e899fd50 -Refactor
-Tests
2017-10-15 18:51:12 +13:00
James Newton-King 393c456d5e Merge branch 'patch-1' of https://github.com/Romasz/Newtonsoft.Json into Romasz-patch-1 2017-10-15 11:31:48 +13:00
James Newton-King 64f6fd7b39 -Fixed TraceJsonWriter.WriteValue(object) writing value twice 2017-10-14 14:21:39 +13:00
Tomasz Romaszkiewicz 6330ea5d14 Added Unit test and allowed GC large objects. 2017-10-07 14:01:04 +02:00
James Newton-King 6057d9b831 -Fixed deserializing with a TraceWriter when the reader is not at the start 2017-10-06 19:11:34 +13:00
James Newton-King 92d170a078 -Fixed converting default datetime in JSON to XML on netstandard1.3 2017-10-02 21:48:22 +13:00
James Newton-King ab3315f1d5 -Added netstandard2.0 2017-10-01 23:11:30 +13:00
James Newton-King 5cdad2e275 -Build 2017-09-24 14:11:58 +13:00
James Newton-King ffe53eb3bf -NuGet packages updated 2017-09-09 22:57:18 +12:00
Andrew Arnott e47282dad6 Avoid packing test projects (#1416) 2017-09-03 15:44:53 +12:00
James Newton-King 98366a4b88 -Added INotifyPropertyChanging to netstandard1.3 build 2017-08-20 16:56:30 +12:00
James Newton-King bbf735583f -Test 2017-08-20 16:45:01 +12:00
James Newton-King 5c2695e839 -Changed tests to run in .NET Core 2.0 2017-08-18 15:47:18 +10:00