92 Commits
Author SHA1 Message Date
James Newton-King 5803c7722a Update .NET 6 tests (#2678) 2022-05-16 17:13:53 +08:00
James Newton-King bf2e2a78e8 Add .NET 6 target (#2677) 2022-05-16 16:12:52 +08:00
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 34ff1a6728 Add test for DuplicatePropertyNameHandling.Replace (#2026) 2019-03-30 17:41:29 +13:00
James Newton-King 88dae52165 Clean up DuplicatePropertyNameHandling feature 2018-11-24 21:25:20 +13: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 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 a138852994 -Changed JObject.ContainsKey to public 2017-11-26 10:13:13 +13:00
James Newton-King ab3315f1d5 -Added netstandard2.0 2017-10-01 23:11:30 +13:00
James Newton-King 98366a4b88 -Added INotifyPropertyChanging to netstandard1.3 build 2017-08-20 16:56:30 +12:00
James Newton-King aa5f28c097 -Added Portable40 back 2017-04-02 10:24:09 +12:00
James Newton-King ba514c4610 -Cleaned up preprocessor symbols 2017-03-05 15:12:52 +13:00
Jon Hanna 8956d3ca9c Fix issues that are variants of those #1182 (#1184)
* Catch excessive objects in json being parsed, even if following a comment.

* Include line info on excessive content for deserialisation.
2017-01-19 10:33:30 +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 eb0cbd6a75 -Formatting
-Build
2015-12-04 23:54:38 +13:00
James Newton-King 2bf31b9605 -Added JsonLoadSettings
-Added CommentsHandling
-Changed LINQ to JSON load to ignore array comments by default
2015-10-06 22:17:25 +13:00
James Newton-King 172c1d8f30 -Fixed inconsistent JsonTextReader.LinePosition
-Fixed JsonReader.Path with escaped property names
2015-10-03 17:11:45 +13:00
James Newton-King fe7b7a6c7b -Added dotnet build
-Removed WinRT files
-Updated solution files to VS2015
-Updated psake
2015-08-02 23:56:26 +12:00
James Newton-King 765bfbf1b4 -Tests 2015-04-07 17:36:41 +12:00
James Newton-King 0552affb83 -Renamed aspnetcore50 to dnxcore50
-Documentation
2015-04-04 16:13:37 +13:00
James Newton-King 345c6f3512 -Tests 2015-03-22 13:00:41 +13:00
James Newton-King b9af7f227b -Replace tests console writes with asserts 2015-03-22 12:37:12 +13:00
James Newton-King 88eeb8ba92 -Fixed MetadataTypeAttribute reflection bug by using CustomAttributeData
-Fixed immutable collections bug by getting type from known assembly
-Added support from running tests on aspnetcore50
2014-10-18 00:00:26 +13:00
James Newton-King 99df43eb4d -Tests line endings 2014-09-12 23:34:20 +12:00
James Newton-King dfb2ac17a5 -Refactor ExceptionAssert 2014-09-12 21:33:53 +12:00
James Newton-King bbcc7e4d54 -Added JValue.CreateNull and JValue.CreateUndefined 2014-04-29 12:20:44 +12:00
James Newton-King 7458cefe95 -Fixed JToken.ReadFrom creating a string value for a comment 2014-04-28 17:11:02 +12:00
James Newton-King b43afdcc0a -Added support for MS format JSON dates to ReadAsDateTime
-Fixed parsing certain JSON with comments into a JObject
-Tests
2014-03-01 18:31:01 +13:00
James Newton-King 7e9824c5f6 -Tests 2013-12-08 11:39:57 +13:00
Athari 7d874c649b Fixed #143 (JObject's implementation of ICustomTypeDescriptor.GetProperties returns incorrect property types) 2013-10-23 17:15:11 +04:00
James Newton-King 44bc7ea246 -Removed SL/WP code and fiels 2013-10-20 16:41:15 +13:00
James Newton-King bcd6982419 -Code reformat 2013-10-20 15:08:39 +13:00
James Newton-King b6d3168ed8 -Refactored parsing dates
-Refactored writing integers
-Refactored JsonConvert
2013-04-21 18:27:08 +12:00
James Newton-King 2412c99d16 -Removed external API references to BigInteger 2013-04-08 21:12:44 +12:00
James Newton-King 032bf82e0a -Readded .NET 4, SL4, WP7, Win8 portable library
-Disable SL library build
2013-04-06 11:38:01 +13:00
James Newton-King 787bde6e15 -Tests
-XML documentation
-Removed generic serialize methods
2013-03-24 14:49:54 +13:00
James Newton-King 1356c31670 -Added BigInteger support 2013-03-16 19:06:05 +13:00
James Newton-King 92de187a74 -Changed portable assembly to .NET 4.5, Silverlight 5, Win8, WP8
-Fixed incorrect namespace when converting XML to JSON
2013-03-06 23:04:26 +13:00
James Newton-King c6eff351a4 -Removed old PocketPC ifdefs 2013-02-10 17:49:36 +13:00
James Newton-King 1fa5e4a22e -Added missing XML documentation
-Fixed potential null reference error when getting attributes
-Performance documentation
2012-10-27 19:25:04 +13:00
James Newton-King efc946d8df -Added GetValue and TryGetValue with StringComparison to JObject
-Fixed SecAnnotate warnings
-Fixed error when comparing empty JObjects
-Fixed error when comparing DateTime JValue with a DateTimeOffset JValue
2012-09-13 22:49:35 +12:00
James Newton-King d9c8d78d77 -Added IgnoreAll to DefaultValueHandling which ignores all default class/struct/privative values
-Added support for DataMemberAttribute's EmitDefaultValue
-Fixed losing decimal precision when writing JValues
-Fixed error when calling ToList on empty JObjects and JArrays
2012-09-01 13:34:07 +12:00
James Newton-King f5fec30c2a -Fixed error when writing JSON for a JProperty with no value
-LINQ to JSON performance improvements
2012-08-11 20:12:49 +12:00
James Newton-King 55854f1682 -Fixed time zone unit test failure
-Removed Metro IDictionary copy
-Fixed Metro build
2012-06-08 05:21:58 -07:00
James Newton-King d63e662bda -Fixed DateParseHandling not being overridden on serializer proxy
-License text on all source files
2012-04-25 09:32:32 +12:00
James Newton-King a7bddf989f -Added Path to JsonReaderException/JsonSerializationException messages
-Added JsonException
-Fixed all Exceptions thrown to be more specific
2012-04-21 17:25:44 +12:00
James Newton-King 10256fcf68 -Added Portable Class Library build 2012-04-18 21:02:34 +12:00
James Newton-King 436c3f9a93 -Fixed reading invalid unicode surrogate pairs 2012-04-10 20:48:42 +12:00