Commit Graph
1566 Commits
Author SHA1 Message Date
James Newton-King 926d2f0f42 Enable embed untracked sources (#2471) 2021-02-19 21:36:54 +13:00
David Omid 0a56633b6c Fixes #2372 - variable typos (#2465) 2021-02-19 10:37:30 +13:00
James Newton-King 7e77bbe1be Change JsonReader and JsonSerializer default max depth to 128 (#2462) 2021-01-31 15:57:06 +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 1403f5d329 Fix serializing nullable struct dictionaries (#2452) 2021-01-07 08:46:45 +13:00
James Newton-King 60be32f46e Use naming strategy when deserializing dictionary enum keys (#2448) 2021-01-01 21:16:44 +13:00
James Newton-King ff5ffb2832 Copy annotations when cloning elements (#2442) 2021-01-01 19:25:57 +13:00
Jody Donetti 0cf47a4687 Missing nullability annotation (#2438) 2020-12-15 10:53:46 +13:00
VereshchaginKonstantin 6795ca55f4 Fixed tests to work in Moscow, Russia UTC+3 timezone. (#2416) 2020-11-20 17:21:00 +13:00
Il Harper c918ca862f Code Typo Fix: Universial => Universal (#2383) 2020-11-20 16:50:48 +13:00
James Newton-King a222c8b69c Update to net50 and fix warnings (#2424) 2020-11-20 16:35:24 +13:00
Anton Vasiliev 666d976071 Fix wrong define is used in StringUtils.ToLower() (#2304) 2020-03-26 09:35:34 +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
everfor 9be95e0f6a Do not treat ignored field as missing member when deserializing from overriden json constructor (#2224) 2019-11-30 11:16:00 +13:00
James Newton-King 0688f3f206 Embiggen package icon 2019-10-06 16:14:47 +13:00
James Newton-King cb09e67abe Update package to use embedded PackageIcon 2019-10-06 15:57:48 +13:00
James Newton-King 23be46f665 Fix using StringEnumConverter with naming strategy and specifie… (#2186) 2019-10-05 20:50:12 +13:00
TylerBrinkley ff6f51b667 Added KebabCaseNamingStrategy 2019-10-05 19:49:18 +13:00
James Newton-King baa1e21612 Fix deserializing incomplete JSON object to JObject (#2181) 2019-09-30 16:34:39 +13:00
James Newton-King 541eab2fbd Fix JSONPath scanning with nested indexer (#2180) 2019-09-30 14:26:52 +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 3219c47f74 Fix hang when deserializing JTokenReader with preceding comment (#2178) 2019-09-30 11:45:19 +13:00
Julian Verdurmen 0be9e5281a Docs: JPath -> JSONPath (#2175) 2019-09-30 11:40:33 +13:00
James Newton-King 8e4261a350 Fix deserializing into constructors with more than 256 paramete… (#2177) 2019-09-29 22:42:22 +13:00
James Newton-King 6b9f467e81 Update compiler package and fix nullable warnings (#2163) 2019-09-15 21:24:24 +12:00
James Newton-King 7cc65dab82 Deserializing immutable set and dictionary create hash impls (#2159) 2019-09-13 08:54:57 +12:00
James Newton-King a213bac448 Fix deserialize via ctor with some existing collection types (#2151) 2019-09-08 20:46:20 +12:00
James Newton-King c5f2103470 Improve documention to mention non-JSON strings for string values 2019-09-01 16:21:36 +12:00
James Newton-King 2ec997d3a7 Fix JToken nullable support 2019-08-22 14:09:18 +12:00
James Newton-King d75074f30c Fix allocating empty arrays and more nullable warnings 2019-08-19 17:38:08 +12:00
James Newton-King e82421145b Add test with escaped JSON Path (#2138) 2019-08-19 13:35:19 +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 083aa6df83 Clean up 2019-08-18 19:09:49 +12:00
Julian Verdurmen 7f113ff49a Improve performance of calling ICustomTypeDescriptor.GetProperties 2019-08-18 19:09:49 +12:00
James Newton-King 9f405a45ad Fix typo in documentation (#2135) 2019-08-18 18:39:19 +12:00
James Newton-King 84b5c15eab Clean up merge changes 2019-08-18 18:07:53 +12:00
iRumba da0f0d8dd1 Fixed merging with self bug. 2019-08-18 18:07:53 +12:00
Mickaël Derriey ee50400235 Update crefs (#2087) 2019-08-10 09:02:43 +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 a7471ae0b9 Fix loading extra assemblies by only filtering for ByRef types on default members 2019-05-17 13:13:30 +12:00
James Newton-King cc2ef36f55 Setup Rosyln code analyzers (#2052) 2019-04-22 09:47:37 +12:00
James Newton-King 5416cd4d1a Move debug symbols to symbol package (#2051) 2019-04-21 15:52:27 +12:00
James Newton-King b34a3ccca7 Add MissingMemberHandling to JsonObjectAttribute (#2050) 2019-04-21 14:40:36 +12:00
James Newton-King f80a8184c8 Update SDK version (#2031) 2019-03-31 14:07:33 +13:00
James Newton-King 8d00ab3684 Make JTokenReader constructor with initial path public (#2030) 2019-03-30 23:23:02 +13:00
James Newton-King af963131ba Add JsonContract.InternalConverter (#2028) 2019-03-30 19:31:01 +13:00
James Newton-King 064cfafa91 Add JsonProperty.IsRequiredSpecified (#2027) 2019-03-30 18:04:21 +13:00
James Newton-King 34ff1a6728 Add test for DuplicatePropertyNameHandling.Replace (#2026) 2019-03-30 17:41:29 +13:00