Commit Graph
100 Commits
Author SHA1 Message Date
James Newton-KingandMatthew Steeples 71be691f92 Add copy constructor to JsonSerializerSettings (#2676)
Co-authored-by: Matthew Steeples <matthew@ledgerscope.com>
2022-05-16 09:34:38 +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 af6e7b9c13 Refactor type name multidimensional array support and add tests 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
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
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
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
James Newton-King c298f3d6a2 Fix typo in SerializeTypeNameHandling sample (#2428) 2020-11-20 16:47:03 +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 7c3d7f8da7 Update version to 12.0.3 2019-11-09 13:48:42 +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 e27710ffaa Update version to 12.0.3-beta2 2019-10-06 14:33:36 +13:00
James Newton-King 23be46f665 Fix using StringEnumConverter with naming strategy and specifie… (#2186) 2019-10-05 20:50:12 +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 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 6471010c56 Update version to 12.0.3 2019-08-19 15:02:53 +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
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
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 f940f21804 Remove explicit assembly from version.json 2019-07-02 10:13:39 +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 197a00ce77 Fix build 2019-05-09 15:15:41 +12:00
James Newton-King a2b6778ef9 Fix build 2019-05-09 15:13:06 +12:00
James Newton-King 54b69ee84e Fix build 2019-05-09 15:09:20 +12:00
James Newton-King 5a673535c8 Support configuring assembly version in version.json 2019-05-09 14:50:14 +12:00
James Newton-King 4ab34b0461 Update version to 12.0.2 2019-04-22 12:52:43 +12:00
James Newton-King cc2ef36f55 Setup Rosyln code analyzers (#2052) 2019-04-22 09:47:37 +12:00
James Newton-King 5ff53a9229 Update version to 12.0.2-beta3 2019-04-21 17:35:52 +12:00
James Newton-King cb4f468b91 Update version to 12.0.2-beta2 2019-04-21 16:42:47 +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 a088299eee Support command line build in VS2019 (#2048) 2019-04-20 16:24:09 +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 9977965ec3 Update version to 12.0.2-beta1 (#2029) 2019-03-30 20:23:09 +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
James Newton-King 793c9a0a3d Clean up 2019-03-30 17:01:39 +13:00
James Newton-King 509643a895 Update version to 12.0.1 2018-11-28 06:53:07 +13:00
James Newton-King 82e76365f8 Add backwards compatible EnumUtils.TryToString call 2018-11-27 22:59:02 +13: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 f869558de5 Update version to 12.0.1-beta2 2018-11-25 20:41:18 +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
James Newton-King c6e4ca7a94 Update NuGet metadata to use license expression (#1921) 2018-11-23 16:36:06 +13:00
James Newton-King c356822a59 Add triggers to Azure build definition 2018-10-28 21:11:19 +13:00
James Newton-King fcd0f00007 Correct package prerelease and sign zip package content (#1900) 2018-10-28 16:33:40 +13:00
James Newton-King e3c4c6aa6b Update build to deploy to NuGet (#1899) 2018-10-28 15:19:10 +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 416cb4db0f Add code and package signing (#1895) 2018-10-26 11:13:25 +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 0ce23ff924 Refactor to use new C# language features (#1881)
* Use shorter default syntax
* Inline out variable declarations
* Pattern matching
2018-10-15 12:49:25 +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
James Newton-King 8e16489cbb Fix BsonReader reading multiple content (#1870) 2018-10-11 15:10:21 +13:00
James Newton-King bfdb48a716 Add XML content encoding test (#1867) 2018-10-08 15:26:54 +13:00
James Newton-King 5ed873f44b Added EncodeSpecialCharacters setting to XmlNodeConverter (#1866) 2018-10-08 14:42:49 +13:00
James Newton-King 5633e17fc1 Fix JTokenReader not using DateTimeZoneHandling 2018-10-08 10:06:19 +13:00
James Newton-King 3d2e9c13ad Not equals test 2018-10-07 16:22:13 +13:00
James Newton-King 416a96bf4e Simplify strict equals 2018-10-07 16:22:13 +13:00
James Newton-King 700444a996 Add support for multiple ctors in JavaScriptDateTimeConverter 2018-09-23 13:57:43 -07:00
James Newton-King eb0cf43e9a Test deserializing sorted set subclass (#1852) 2018-09-22 14:21:49 -07:00
James Newton-King e079301905 Fix ignored values being set in extension data (#1851) 2018-09-22 13:34:13 -07:00
James Newton-King a913a72024 Fix blank extension data values with required properties and ctor (#1850) 2018-09-22 12:34:47 -07:00
James Newton-King 74add1336a Acquire dotnet-install.ps1 from dot.net (#1849) 2018-09-22 09:49:54 -07:00