77 Commits
Author SHA1 Message Date
Dylan Musil 57025815e5 Fix: Null String being reported as String rather than JTokenType.Null (#2796)
Fixes https://github.com/JamesNK/Newtonsoft.Json/issues/2775
2023-01-16 17:08:14 +08:00
James Newton-King c908de3017 Fix not returning negative double from box cache (#2777) 2022-12-16 20:39:41 +08:00
James Newton-King 2afdccdb63 Fix parsed decimal losing trailing zeroes (#2769) 2022-12-08 21:51:00 +08:00
James Newton-King d0a328e8a4 Fix MaxDepth not being used with ISerializable deserialization (#2736) 2022-09-13 08:08:02 +08:00
James Newton-King cb9eed9666 Fix deserializing via constructor with ignored base type properties (#2711) 2022-08-04 15:02:55 +08:00
James Newton-King 94ff24f815 Fix blocking IO in JsonTextWriter.CloseAsync and add IAsyncDisposable (#2695) 2022-06-16 17:33:59 +08:00
James Newton-King 5803c7722a Update .NET 6 tests (#2678) 2022-05-16 17:13:53 +08:00
13717cfc45 implement box avoidance (#2639)
Co-authored-by: Marc Gravell <marcgravell@microsoft.com>
Co-authored-by: James Newton-King <james@newtonking.com>
2022-05-15 22:08:18 +08:00
James Newton-King 2b0f7a2492 Fix deserializing mistmatched JToken types in properties (#2530) 2021-05-15 11:40:11 +12:00
James Newton-King f7e7bd05d9 Fix MaxDepth when used with ToObject inside of a JsonConverter (#2505) 2021-03-31 15:57:25 +13:00
James Newton-King 1745d7c14e Fix JTokenWriter when writing comment to an object (#2493) 2021-03-11 21:53:58 +13:00
James Newton-King 583eb12015 Fix missing error when deserializing JToken with a contract type mismatch (#2494) 2021-03-11 21:42:55 +13:00
James Newton-King 1403f5d329 Fix serializing nullable struct dictionaries (#2452) 2021-01-07 08:46:45 +13:00
James Newton-King 60be32f46e Use naming strategy when deserializing dictionary enum keys (#2448) 2021-01-01 21:16:44 +13:00
James Newton-King 23be46f665 Fix using StringEnumConverter with naming strategy and specifie… (#2186) 2019-10-05 20:50:12 +13:00
James Newton-King baa1e21612 Fix deserializing incomplete JSON object to JObject (#2181) 2019-09-30 16:34:39 +13:00
James Newton-King 541eab2fbd Fix JSONPath scanning with nested indexer (#2180) 2019-09-30 14:26:52 +13:00
James Newton-King c89d6addf1 Update dependencies from .NET Core 3.0 (#2179) 2019-09-30 12:46:29 +13:00
James Newton-King 3219c47f74 Fix hang when deserializing JTokenReader with preceding comment (#2178) 2019-09-30 11:45:19 +13:00
James Newton-King 8e4261a350 Fix deserializing into constructors with more than 256 paramete… (#2177) 2019-09-29 22:42:22 +13:00
Lucas Loegel 05d721e36f Fix #1984 2019-03-30 17:01:39 +13:00
James Newton-King 03f7c0b859 Fix serializing types with struct ref properties (#1924) 2018-11-25 15:27:11 +13:00
James Newton-King 998a0aca63 Exclude TargetSite from non-serializable Exception serialization (#1897) 2018-10-27 18:31:32 +13:00
James Newton-King 0c6b0748f8 Fix including array attribute in XML with namespaces (#1880) 2018-10-15 02:18:44 +13:00
James Newton-King cbeaa45896 Add test (#1879) 2018-10-14 21:25:59 +13:00
James Newton-King eb18d3978e Fix setting extension data with existing key (#1878) 2018-10-14 14:28:31 +13:00
James Newton-King 0e14a9b80d Write trace message for serializing to non-writable properties (#1871) 2018-10-11 15:52:08 +13:00
James Newton-King 416a96bf4e Simplify strict equals 2018-10-07 16:22:13 +13:00
WillSullivan 3a9dfebc2d Strict operator support added 2018-10-07 16:22:13 +13:00
James Newton-King eb0cf43e9a Test deserializing sorted set subclass (#1852) 2018-09-22 14:21:49 -07:00
James Newton-King e079301905 Fix ignored values being set in extension data (#1851) 2018-09-22 13:34:13 -07:00
James Newton-King a913a72024 Fix blank extension data values with required properties and ctor (#1850) 2018-09-22 12:34:47 -07:00
James Newton-King ad246c775a Fix deserializing empty string to empty byte array (#1787) 2018-08-06 15:43:22 +12:00
James Newton-King 27c4eb88f6 Improve exception when number cannot be read as type (#1782) 2018-07-29 16:19:01 +12:00
James Newton-King 6dd352c490 Fix calling constructors with ref and in parameters (#1728) 2018-05-29 10:46:51 +12:00
James Newton-King 42ee730f3a Fix losing DateTime.Kind when deserializing ISO date strings (#1727) 2018-05-28 20:54:01 +12:00
James Newton-King a82acace46 Fixed parsing decimals with exponents in strings (#1714) 2018-05-21 15:49:36 +12:00
James Newton-King 32f882b5d6 Fixed serializing abstract base class ISerializable on .NET Core (#1712) 2018-05-21 11:17:19 +12:00
James Newton-King c4af75c8e9 -Fixed serializing F# enums 2018-03-23 16:17:55 +13:00
James Newton-King c72f785b9c -Changed DataContractAttribute on collections back to array serialization
-Fixed JObject.GetPropertyOwner to return value
-Fixed JPropertyDescriptor GetValue and SetValue to return null for null owner
2018-03-12 15:43:28 +13:00
James Newton-King a33222f71d -Typo
-Test
2018-03-05 12:50:01 +13:00
James Newton-King 8bb337debb -Fixed serializing FileInfo/DirectoryInfo on .NET Core with JsonConverter 2018-02-22 16:16:22 +13:00
James Newton-King f2b6ea4966 -Fixed serializing generated types with duplicate property names 2018-02-22 15:15:55 +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 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 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 6dfc5c46e5 -Tests 2018-01-18 18:55:31 +13:00