Commit Graph
165 Commits
Author SHA1 Message Date
James Newton-King bf2e2a78e8 Add .NET 6 target (#2677) 2022-05-16 16:12:52 +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 197c6db94a Update tests to use .NET 6 (#2674) 2022-05-15 21:40:07 +08:00
James Newton-King a45ef9f2d9 Update pipelines image to VS2022 and fix build warnings (#2619) 2021-12-02 15:25:33 +13:00
James Newton-King 42139ea6cd Add JsonSelectSettings and regex timeout 2021-01-17 18:23:19 +13:00
serpentfabric 95a6eb3ac5 jpath regex timeout support added for a single regex expression, global umbrella for all regex calls, and support for allowing regex calls to get compiled if necessary
require users to set a global cancellation token themselves, to avoid a potential unmanaged memory leak, which cleans up the code a bunch and fixes the failing tests

fix tests so cached regex's don't cause one test to fail using prior tests timeout...

handle the global timeout of multitoken regex internally and test for it
2021-01-17 18:23:19 +13:00
James Newton-King a222c8b69c Update to net50 and fix warnings (#2424) 2020-11-20 16:35:24 +13:00
James Newton-King 936acbf622 Update version to 13.0.1-beta and remove portable builds (#2228) 2019-11-30 17:29:13 +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 2ec997d3a7 Fix JToken nullable support 2019-08-22 14:09:18 +12: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 7b8c3b0ed0 Move dependency version numbers to shared file (#2109) 2019-07-29 10:48:56 +12:00
James Newton-King cdf10151d5 Update Newtonsoft.Json project to use nullable reference types (#1950) 2019-07-29 09:13:42 +12:00
James Newton-King f80a8184c8 Update SDK version (#2031) 2019-03-31 14:07:33 +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 27c4eb88f6 Improve exception when number cannot be read as type (#1782) 2018-07-29 16:19:01 +12:00
James Newton-King 6f8f0dad8b Update testing packages (#1762) 2018-07-07 08:56:02 +08:00
James Newton-King aa954a93f5 Clean up csproj files (#1754) 2018-06-30 22:14:08 +08:00
James Newton-King 7217c484e9 Enable source link (#1746) 2018-06-24 12:25:12 +12:00
James Newton-King f2b6ea4966 -Fixed serializing generated types with duplicate property names 2018-02-22 15:15:55 +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 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
Andrew Arnott e47282dad6 Avoid packing test projects (#1416) 2017-09-03 15:44:53 +12:00
James Newton-King 5c2695e839 -Changed tests to run in .NET Core 2.0 2017-08-18 15:47:18 +10:00
James Newton-King 275741ff09 -Build 2017-04-29 17:47:22 +12:00
James Newton-King 64124e6edd -Modern project system all the things 2017-04-27 22:09:01 +12:00
James Newton-King db49e4aed8 -Derp 2017-02-26 11:00:46 +13:00
James Newton-King 69638744f8 -Changed perf tests to BenchmarkDotNet 2017-02-26 10:59:14 +13:00
Jon Hanna c9b2ec8055 Async JToken methods 2017-01-09 23:44:08 +13:00
Jon Hanna f663060005 Asynchronous methods in readers and writers. (#1122)
Contributes to #650
2017-01-06 15:33:39 +13:00
stakx 7644768580 Make JsonValidatingReader close underlying reader
Add `Close` method override in `JsonValidatingReader` so that the
`CloseInput` property is observed properly. Also add a corresponding
unit test.
2016-12-26 12:21:45 +01:00
Pyit Phyo Aung 26ae7d07fc Break up JsonTextReaderTest class into smaller test classes 2016-10-14 00:20:09 +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 146e582fc5 -Documentation 2016-06-28 00:39:32 +12:00
James Newton-King 52fbb613d7 -Refactored naming strategy to be an abstract base class 2016-05-28 23:56:58 +12:00
James Newton-King d453089b58 Merge branch 'master' into naming-strategy 2016-05-28 10:03:56 +12:00
Taylor Wood 07b72a5637 Fix spelling of "parameterized" 2016-05-24 11:41:40 -05:00
James Newton-King 3674af9119 -Added INamingStrategy
-Added CamelCaseNamingStrategy
-Added NamingStrategyType and NamingStrategyParameters to JsonPropertyAttribute
-Added NamingStrategyType and NamingStrategyParameters to JsonContainerAttribute
2016-03-20 19:13:44 +13:00
James Newton-King 6d91522d6b -Documentation 2015-10-02 21:49:58 +13:00
James Newton-King d86d2fa23d -Added project specific project.json files 2015-09-22 11:38:13 +12:00
James Newton-King 85e7968ed9 -Fixed documentation typo
-Fixed error when serializing some interfaces with hidden properties
-Fixed some large integers being incorrectly read from JSON
2015-08-30 22:24:57 +12:00
James Newton-King a0c33b4d6c -Updated System.Collections.Immutable to latest version 2015-06-21 00:43:28 +00:00
James Newton-King 08296c5eca -Documentation 2015-06-10 01:16:12 +12:00
James Newton-King 629c32062e -Fixed deserializing classes derived from ConcurrentDictionary
-Updated to latest immutable collections
-Tests
2015-04-05 01:46:58 +13:00
James Newton-King 9eca136e79 -Documentation 2015-04-02 20:16:33 +13:00
pischke 00bbd96718 DataTableConverter is using Serializer for cell data. 2015-03-26 23:17:27 +01:00