James Newton-King
5eac02a797
Run unit tests on .NET Core 3.0 and fix Enumerable.Empty ( #2137 )
2019-08-19 12:57:09 +12:00
James Newton-King
cdf10151d5
Update Newtonsoft.Json project to use nullable reference types ( #1950 )
2019-07-29 09:13:42 +12:00
Damir Ainullin
762ff836bd
Fix unit test in according to the name ( #1996 )
2019-03-10 14:55:51 -07:00
James Newton-King
d48558b53b
Add support for NamingStrategy to StringEnumConverter ( #1885 )
2018-10-21 18:27:00 +13:00
James Newton-King
bfdb48a716
Add XML content encoding test ( #1867 )
2018-10-08 15:26:54 +13:00
James Newton-King
5ed873f44b
Added EncodeSpecialCharacters setting to XmlNodeConverter ( #1866 )
2018-10-08 14:42:49 +13:00
James Newton-King
700444a996
Add support for multiple ctors in JavaScriptDateTimeConverter
2018-09-23 13:57:43 -07:00
James Newton-King
71564ceb16
Fix tests on environments with different line endings ( #1831 )
2018-09-17 03:01:58 -07:00
James Newton-King
d7150871cb
Add line information to JsonSerializationException ( #1829 )
2018-09-16 14:10:33 -07:00
James Newton-King
092098933e
Fix error when deserializing empty array in DataTable ( #1786 )
2018-08-06 13:25:26 +12:00
ROY
ab67fd558f
Add construct public StringEnumConverter(bool camelCaseText, bool all… ( #1700 )
2018-05-27 13:47:01 +12:00
bocus
aa4062d586
correct naming ( #1696 )
2018-05-21 10:06:37 +12: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
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