Commit Graph
1230 Commits
Author SHA1 Message Date
Lucas Loegel 05d721e36f Fix #1984 2019-03-30 17:01:39 +13:00
xp44mm 5712e024b2 Simplify lambda to expression (#2009) 2019-03-30 16:39:15 +13:00
xp44mm 7cfeeac14a Update ReflectionUtils.cs#RemoveAssemblyDetails (#2006) 2019-03-30 14:37:29 +13:00
Damir Ainullin eb372aaf56 Replaced ContainsKey and getting by value with TryGetValue method (#2013) 2019-03-30 14:35:58 +13:00
xp44mm 279a041eeb Update ReflectionObject.cs#Create (#2007) 2019-03-10 19:37:26 -07:00
Mantas Audickas d75d54381e Fix memory leak when (de)serializing objects with enums (#1991) (#1992) 2019-03-10 14:37:53 -07:00
Damir Ainullin 57a3a65464 Remove duplication of memberName calculation (#1995) 2019-03-10 14:18:25 -07:00
Marcin Kasperski b371ab1b0e Fix xmldoc typo on JsonConvert.ToString(decimal) (#1964) 2019-02-24 18:52:18 +13:00
James Newton-King 82e76365f8 Add backwards compatible EnumUtils.TryToString call 2018-11-27 22:59:02 +13:00
James Newton-King 2171a88e5e Add documentation and split JSON Path into its own documentation section (#1925) 2018-11-26 23:10:30 +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 88dae52165 Clean up DuplicatePropertyNameHandling feature 2018-11-24 21:25:20 +13:00
Антон a1f1b0aa86 initial commit issue #931 fix 2018-11-24 21:25:20 +13:00
James Newton-King c6e4ca7a94 Update NuGet metadata to use license expression (#1921) 2018-11-23 16:36:06 +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 d48558b53b Add support for NamingStrategy to StringEnumConverter (#1885) 2018-10-21 18:27:00 +13:00
James Newton-King 0ce23ff924 Refactor to use new C# language features (#1881)
* Use shorter default syntax
* Inline out variable declarations
* Pattern matching
2018-10-15 12:49:25 +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 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 8e16489cbb Fix BsonReader reading multiple content (#1870) 2018-10-11 15:10:21 +13:00
James Newton-King 5ed873f44b Added EncodeSpecialCharacters setting to XmlNodeConverter (#1866) 2018-10-08 14:42:49 +13:00
James Newton-King 5633e17fc1 Fix JTokenReader not using DateTimeZoneHandling 2018-10-08 10:06:19 +13:00
Maksim Edinarkhov 9b98a11db2 fix for JObject.ToObject to respect DateTimeZoneHandling
https://github.com/JamesNK/Newtonsoft.Json/issues/1531
2018-10-08 10:06:19 +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 700444a996 Add support for multiple ctors in JavaScriptDateTimeConverter 2018-09-23 13:57:43 -07:00
wybb 70dabfb409 Update JsonWriter.cs 2018-09-23 13:57:43 -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 9fe2448320 Add JObject.Property overload with a StringComparison and JsonMergeSettings.PropertyNameComparison (#1843) 2018-09-20 00:21:16 -07:00
James Newton-King d7150871cb Add line information to JsonSerializationException (#1829) 2018-09-16 14:10:33 -07:00
Stoyan Dimov 92258c212e Fix summary of JObject.Property method (#1813) 2018-09-10 17:54:38 +12: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 092098933e Fix error when deserializing empty array in DataTable (#1786) 2018-08-06 13:25:26 +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 4bb55dc1b6 Copy entries to local variable 2018-07-29 12:00:13 +12:00
David Cobbold 18cc211d0e Avoid race condition by ensuring array index is evaluated before accessing the array 2018-07-29 12:00:13 +12:00
James Newton-King 93fe3bd618 ReflectionUtils code clean up (#1755) 2018-07-01 15:25:36 +08:00
James Newton-King 7217c484e9 Enable source link (#1746) 2018-06-24 12:25:12 +12:00
Ilya Grebnov 2d5eba5599 Extracted JsonNameTable for JsonTextReader (#1703) 2018-06-21 10:22:33 +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 3c11adaada Improve StringEnumConverter.AllowIntegerValues docs (#1724) 2018-05-27 14:20:38 +12:00
ROY ab67fd558f Add construct public StringEnumConverter(bool camelCaseText, bool all… (#1700) 2018-05-27 13:47: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
bocus aa4062d586 correct naming (#1696) 2018-05-21 10:06:37 +12:00
James Newton-King 6287ed3be1 HTTPs all the things (#1710) 2018-05-21 10:02:43 +12:00
Tyler Brinkley 94a4dbf7fe De-serialization of Decimal not always overflowing when it should (#1668) 2018-04-22 12:28:15 +12:00