James Newton-King
1745d7c14e
Fix JTokenWriter when writing comment to an object ( #2493 )
2021-03-11 21:53:58 +13:00
James Newton-King
583eb12015
Fix missing error when deserializing JToken with a contract type mismatch ( #2494 )
2021-03-11 21:42:55 +13:00
James Newton-King
b6dc05be5a
Change MaxDepth default to 64 ( #2473 )
2021-02-21 15:13:51 +13:00
James Newton-King
15525f1c44
Fix JsonWriter.WriteToken to allow null with string token ( #2472 )
2021-02-21 13:09: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
VereshchaginKonstantin
6795ca55f4
Fixed tests to work in Moscow, Russia UTC+3 timezone. ( #2416 )
2020-11-20 17:21:00 +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
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
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
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
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
2ec997d3a7
Fix JToken nullable support
2019-08-22 14:09:18 +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
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
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
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
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
Lucas Loegel
05d721e36f
Fix #1984
2019-03-30 17:01:39 +13:00
Damir Ainullin
762ff836bd
Fix unit test in according to the name ( #1996 )
2019-03-10 14:55:51 -07:00
Mantas Audickas
d75d54381e
Fix memory leak when (de)serializing objects with enums ( #1991 ) ( #1992 )
2019-03-10 14:37:53 -07:00
James Newton-King
2171a88e5e
Add documentation and split JSON Path into its own documentation section ( #1925 )
2018-11-26 23:10:30 +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
88dae52165
Clean up DuplicatePropertyNameHandling feature
2018-11-24 21:25:20 +13:00
Антон
a1f1b0aa86
initial commit issue #931 fix
2018-11-24 21:25:20 +13:00
James Newton-King
998a0aca63
Exclude TargetSite from non-serializable Exception serialization ( #1897 )
2018-10-27 18:31:32 +13:00
James Newton-King
d48558b53b
Add support for NamingStrategy to StringEnumConverter ( #1885 )
2018-10-21 18:27:00 +13:00
James Newton-King
faaa23eb9e
Clean up test warnings ( #1882 )
2018-10-15 13:41:57 +13:00
James Newton-King
0c6b0748f8
Fix including array attribute in XML with namespaces ( #1880 )
2018-10-15 02:18:44 +13:00
James Newton-King
cbeaa45896
Add test ( #1879 )
2018-10-14 21:25:59 +13:00
James Newton-King
eb18d3978e
Fix setting extension data with existing key ( #1878 )
2018-10-14 14:28:31 +13:00
James Newton-King
0e14a9b80d
Write trace message for serializing to non-writable properties ( #1871 )
2018-10-11 15:52:08 +13:00