Commit Graph
1673 Commits
Author SHA1 Message Date
James Newton-King f2b6ea4966 -Fixed serializing generated types with duplicate property names 2018-02-22 15:15:55 +13:00
James Newton-King d50b912e99 -Docs 2018-02-18 09:39:17 +13:00
James Newton-King 41c3a71e62 -Fixed unhelpful error message when deserializing badly formatted regex string 2018-02-17 21:07:07 +13:00
James Newton-King 31b1d7a690 -Increment version to 11.0.1 2018-02-17 19:24:49 +13:00
James Newton-King df082eb90f -Build 2018-02-17 19:16:43 +13:00
James Newton-King 91af95d77e -Fixed unhelpful error when failing conversion in JsonReader.ReadAsDecimal
-Fixed JsonReader.ReadAsInt32 with BigInteger values
2018-02-17 18:46:27 +13:00
James Newton-King ac17463d05 -Derp 2018-02-17 18:21:21 +13:00
James Newton-King 73203653ba -Fixed unhelpful error when failing conversion in JsonReader.ReadAsInt32 2018-02-17 18:04:00 +13:00
James Newton-King ce7f283b94 -Fixed bug when deserializing into existing non-IDictionary collection 2018-02-12 19:47:21 +13:00
James Newton-King 39f2db6f2d -Fixed bug when deserializing into existing non-IList collection 2018-02-11 19:38:12 +13:00
James Newton-King 6d3b5077e2 -Refactor regex in JSON Path 2018-02-11 14:42:13 +13:00
James Newton-King 7f3292f6cb Merge branch 'feature/json-path-filter-using-regex' of https://github.com/andre-n/Newtonsoft.Json into andre-n-feature/json-path-filter-using-regex 2018-02-11 12:28:05 +13:00
James Newton-King 9495a9ffce -Derp 2018-02-11 12:17:14 +13:00
andre-n 75ca4c8412 function rename 2018-02-10 20:18:50 +01:00
andre-n 1876b1bfdf feature: implement regex match operator for JsonPath queries. Syntax is compatibe with Jayway implementation 2018-02-10 16:04:35 +01:00
James Newton-King e9e2d006a5 -Fixed DataContractAttribute not forcing object serialization of classes 2018-02-02 16:14:41 +13:00
James Newton-King c90e6e871a -Changed enum serialization in dictionary keys to use EnumMemberAttribute 2018-01-31 15:14:03 +13:00
James Newton-King e370fc2e3a -Added readonly to structs 2018-01-31 10:32:50 +13:00
James Newton-King 4e47aa8e9a -Build 2018-01-28 16:08:23 +13:00
James Newton-King d6c3794556 -Fixed using extension data with dictionary that explicitly implements Add method 2018-01-27 19:20:02 +13:00
James Newton-King 6360cc4c4b -Fixed escaping special characters in generated JSONPaths
-Fixed reading escaped special characters in JSONPaths
2018-01-27 18:39:44 +13:00
James Newton-King 0b975a2087 -Cleaned up UnixDateTimeConverter 2018-01-21 12:16:48 +13:00
James Newton-King d7786d86c1 Merge branch 'master' of https://github.com/pouladpld/Newtonsoft.Json into pouladpld-master 2018-01-21 11:23:09 +13:00
James Newton-King 8ece2b31b9 -Fixed error when deserializing null value into ConcurrentDictionary 2018-01-20 17:23:38 +13:00
testfirstcoder e1dfefe00b serialization of a property which was defined in several interfaces (#1586) 2018-01-19 16:31:03 +13:00
James Newton-King 6dfc5c46e5 -Tests 2018-01-18 18:55:31 +13:00
Zoltán Tamási 92833289a0 Removed unrelated test and codes 2018-01-15 15:27:13 +01:00
Zoltán Tamási 5f2f5fd7b0 Fix indentation 2018-01-15 13:13:28 +01:00
Zoltán Tamási 9f74b979aa Fix support for custom list converters when input is not an array or object 2018-01-15 13:08:58 +01:00
James Newton-King 312508358f -Tests 2018-01-15 19:36:29 +13:00
James Newton-King a54b0fe4dd -Build 2018-01-12 19:25:17 +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 66c41b5937 -Refactor 2018-01-11 22:03:21 +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 f92e11b079 -Increment version to 11.0.1-beta3 2018-01-03 10:23:16 +13:00
James Newton-King e57cb6acea -Fixed regression serializing decimal value 2018-01-03 10:22:19 +13:00
Poulad 577ba03aa1 Add unix date converter 2018-01-01 21:18:22 -05:00
James Newton-King ed52a0eb0f -Increment version to 11.0.1-beta2 2018-01-02 09:43:55 +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 2244a82282 -Refactor enum parsing 2017-12-28 15:35:27 +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