Commit Graph
202 Commits
Author SHA1 Message Date
James Newton-King 0b975a2087 -Cleaned up UnixDateTimeConverter 2018-01-21 12:16:48 +13:00
Poulad 577ba03aa1 Add unix date converter 2018-01-01 21:18:22 -05: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
James Newton-King 2c9d9b9598 -Updated NuGet packages
-Fixed xunit warnings
2017-11-26 13:00:07 +13: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 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 ffe53eb3bf -NuGet packages updated 2017-09-09 22:57:18 +12:00
James Newton-King 0a6792e4ca -Tests 2017-08-13 14:03:25 +12:00
James Newton-King 946b43fab8 -Built-in converters inherit from JsonConverter
-Fixed writing null values by XmlNodeConverter and RegexConverter
-Tests
-Documentation
2017-08-12 20:17:28 +12:00
James Newton-King 0996a59f8c -Generic JsonConverter WIP + initial tests 2017-08-11 18:15:20 +12:00
James Newton-King 59cd89a140 -Tests 2017-06-11 15:56:10 +12:00
James Newton-King 4467bdb224 -Fixed not preventing negative integers with StringEnumConverter.AllowIntegerValues 2017-06-11 15:26:25 +12:00
James Newton-King f523b2d3bc -Merge 2017-05-28 14:51:49 +12:00
James Newton-King 3051dbde49 -Derp 2017-05-28 13:04:37 +12:00
James Newton-King 87d99204bf -Fixed converting JSON byte array data to XML 2017-05-28 12:52:08 +12:00
FVoronin c6d6dcf24a Ignore culture when converting JSON values to XML attributes 2017-05-15 12:31:20 +05:00
James Newton-King 822c3f00dd -Fixed overflow when converting incomplete JSON to XML 2017-04-22 11:13:28 +12:00
James Newton-King aa5f28c097 -Added Portable40 back 2017-04-02 10:24:09 +12:00
James Newton-King 7673a18e55 -Changed StringEnumConverter.AllowIntegerValues to also reject writing enum values with no name 2017-03-19 16:46:33 +13:00
James Newton-King ae3ae96832 -Added XmlDocument support to netstandard1.3+ 2017-03-16 23:36:11 +13:00
James Newton-King ba514c4610 -Cleaned up preprocessor symbols 2017-03-05 15:12:52 +13:00
James Newton-King 354249822a -Marked BSON classes as obsolete 2017-02-19 20:39:23 +13:00
reinaldoarrosi 918d693017 fixes xml serialization to json when json:Array and xmlns:json attributes are used directly on the xml element that represents the array 2017-02-15 15:08:14 -02:00
James Newton-King cc6d99aa60 Migrate project.json to csproj (#1212) 2017-02-13 23:46:43 +13:00
James Newton-King 56e3d7575b -Fixed deserializing non-string values in some XML nodes 2017-01-19 11:49:09 +13:00
James Newton-King 473baa639b -Optimized IXmlNode memory usage when no child nodes or attributes 2017-01-15 18:37:06 +13:00
stakx 8639ac94ae Typos
Running a spell checker on the whole solution revealed a couple more
typos. This fixes all of those (although internal // line comments are
mostly left alone).

Additionally, convert a very few string.Format occurrences to the pre-
dominant .FormatWith pattern and fix some incorrect message strings.
2017-01-04 03:01:26 +01:00
James Newton-King b2afa9d674 -Fixed StringEnumConverter when EnumMember defines members that differ only by case 2016-11-06 20:58:32 -08:00
James Newton-King 29c84fd7c2 -Improved error when attempting to convert root JSON object property to an XML attribute 2016-10-25 14:43:27 +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 6c272eac6e -Fixed StringEnumConverter.AllowIntegerValues to reject integer strings 2016-09-12 17:25:19 +12:00
James Newton-King 39ecc359eb -Fixed date XML precision on portable builds 2016-09-12 09:45:37 +12:00
James Newton-King 68d160f3c6 -Added netstandard1.1 with BigInteger support 2016-09-10 23:54:44 +12:00
James Newton-King 216ff4ab8b -Tests 2016-09-10 18:41:30 +12:00
James Newton-King dada8ea0e3 -Fixed deserializing DataTable with error handling 2016-07-19 18:46:33 +12:00
James Newton-King b83e1fab4c -Fixed deserializing null Regex 2016-07-18 21:46:07 +12:00
James Newton-King 7f6a01001d -Fixed StringEnumConverter reading specified enum names that contain a comma 2016-07-15 16:52:59 +10:00
James Newton-King b71ca75905 -Fixed converting dollar JSON properties to XML 2016-04-29 23:19:42 +12:00
Jack Ma 096b8f3576 Adds test for deserializing XmlElement and a minor change in the exception message 2016-04-22 11:00:11 -07:00
James Newton-King b24be98fcc -Tests 2016-04-10 15:17:55 +12:00
James Newton-King 55c87a0e73 -Fixed converting XElements without namespace attribute to JSON 2016-04-10 11:36:21 +12:00
James Newton-King 0311bc0f24 -Added constructor to StringEnumConverter for setting camelcase from attribute 2016-02-06 16:27:33 +13:00
Taylor Wood 38ebf96655 Fix DU converter exception typo. 2016-01-28 22:02:39 -06:00
Jon Hanna a06716c6a6 Refactor some cases of repeated code into separate methods.
Make the MoveToContent() and ReadToContent() produced from this public.
2015-12-20 00:28:40 +00:00
James Newton-King a5d1a41e14 -Removed generic SerializeObject methods 2015-12-12 18:14:57 +13:00