James Newton-King
b15df4b50d
Add missing headers
2022-11-24 09:56:09 +08:00
James Newton-King
789bfd3bbc
Update to 13.0.2-beta3
2022-11-14 09:09:19 +08:00
James Newton-King and Sneha Shivakumar
b13717a1c1
Add JsonCloneSettings to disable copy annotations ( #2757 )
...
Co-authored-by: Sneha Shivakumar <snshivakumar@microsoft.com >
2022-11-14 08:55:47 +08:00
James Newton-King
d0a328e8a4
Fix MaxDepth not being used with ISerializable deserialization ( #2736 )
2022-09-13 08:08:02 +08:00
James Newton-King
aae9284e20
Update SDK
2022-08-30 14:32:47 +08:00
James Newton-King
bd989708b1
Update to 13.0.2-beta2
2022-08-30 14:09:07 +08:00
James Newton-King
4dc9af66e0
Add roll forward to global.json ( #2726 )
2022-08-30 13:16:38 +08:00
Eddy Nakamura
b8f4ef0f98
Fixing misspelling ( #2698 )
2022-08-30 12:03:33 +08:00
James Newton-King
cb9eed9666
Fix deserializing via constructor with ignored base type properties ( #2711 )
2022-08-04 15:02:55 +08:00
James Newton-King
94ff24f815
Fix blocking IO in JsonTextWriter.CloseAsync and add IAsyncDisposable ( #2695 )
2022-06-16 17:33:59 +08:00
James Newton-King
e6fbab98d5
Update to 13.0.2-beta1
2022-05-16 21:21:03 +08:00
James Newton-King
f0dcd5b434
Add support for DateOnly and TimeOnly ( #2679 )
2022-05-16 21:02:57 +08:00
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
AlanLiu90
e42c9e4824
Fixed rare race condition in name table when deserializing on device with ARM processors ( #2602 )
2022-05-16 09:53:06 +08:00
James Newton-King and Matthew Steeples
71be691f92
Add copy constructor to JsonSerializerSettings ( #2676 )
...
Co-authored-by: Matthew Steeples <matthew@ledgerscope.com >
2022-05-16 09:34:38 +08:00
7f78562d44
Add support to pre-epoch Unix time ( #2614 )
...
Co-authored-by: Max A. Kiselev <kiselevma@gmail.com >
Co-authored-by: James Newton-King <james@newtonking.com >
2022-05-15 22:43:37 +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
Jose Perez Rodriguez
52190a3a3d
Enabling NuGet package validation ( #2618 )
2021-12-05 09:00:46 +13: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
af6e7b9c13
Refactor type name multidimensional array support and add tests
2021-11-14 18:04:58 +13:00
Jacky
233ed3a961
Correction for arrays of more than 2 dimensions
...
When using the type interpretation for arrays of more than 2 dimensions, on deserialization, an error is encountered.
There is a problem in the switch case that does not allow adding more than one comma between the brackets of System.xxxx [].
View issue #2591
2021-11-14 18:04:58 +13:00
James Newton-King
4fda2ea27e
Add embedded README.md ( #2596 )
2021-11-13 11:07:47 +13:00
Claire Novotny
52e257ee57
Use latest SDK for reproducible builds ( #2557 )
2021-07-24 16:06:22 +12:00
Andrew Arnott
c9e12bc475
Add nullable annotation to JToken.ToObject(Type, JsonSerializer)
2021-07-23 22:21:06 +12:00
James Newton-King
e44ab3348f
Fix merging enumerable content and validate content ( #2531 )
2021-05-15 13:45:00 +12:00
James Newton-King
2b0f7a2492
Fix deserializing mistmatched JToken types in properties ( #2530 )
2021-05-15 11:40:11 +12:00
James Newton-King
f7e7bd05d9
Fix MaxDepth when used with ToObject inside of a JsonConverter ( #2505 )
2021-03-31 15:57:25 +13:00
James Newton-King
ae9fe44e13
Remove compiler package and update sourcelink ( #2498 )
2021-03-18 08:55:07 +13:00
James Newton-King
8ef662189d
Remove prerelease for 13.0.1
2021-03-17 14:43:23 +13:00
James Newton-King
11331f50fd
Update SDK to 5.0.200 ( #2495 )
2021-03-12 14:43:15 +13:00
James Newton-King
c7e8abc09d
Update to 13.0.1-beta2
2021-03-12 14:07:19 +13:00
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
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
5a35c77d09
Update version to 13.0.1 ( #2463 )
2021-01-31 16:35:14 +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
c298f3d6a2
Fix typo in SerializeTypeNameHandling sample ( #2428 )
2020-11-20 16:47:03 +13:00