- 12 7月, 2022 1 次提交
-
-
由 Ilya Pospelov 提交于
* Improve Generics support in System.Text.Json.SourceGeneration * Apply suggestions * Apply suggestions 2 * unify first element check * apply code styles
-
- 14 5月, 2022 1 次提交
-
-
由 Eirik Tsarpalis 提交于
* Add DateOnly and TimeOnly support to System.Text.Json * Constrain DateOnly supported formats to calendar dates only. * Update src/libraries/System.Text.Json/src/System/Text/Json/ThrowHelper.cs Co-authored-by: NLayomi Akinrinade <layomia@gmail.com> * Replace NETx_OR_GREATER with NETCOREAPP Co-authored-by: NLayomi Akinrinade <layomia@gmail.com>
-
- 21 4月, 2022 1 次提交
-
-
由 Luiz Strobelt 提交于
* Add API entry for JsonDocument converter * Add reference to System.Text.Json * Add JsonElementConverter from MetadataServices * Correct converter naming * Add JsonDocument type to source generation * include testing Co-authored-by: NEirik Tsarpalis <eirik.tsarpalis@gmail.com>
-
- 20 4月, 2022 2 次提交
-
-
由 Eirik Tsarpalis 提交于
* Enable System.Text.Json tests on netfx (#63803) * Enable System.Text.Json tests on netfx * use NETFRAMEWORK define * disable another two test cases after rebase * disable last test case which repros only on CI for me * add p2p only on netfx * Remove hardcoded assembly qualified names * Address feedback Co-authored-by: NKrzysztof Wicher <kwicher@microsoft.com>
-
由 jharjung 提交于
* Improving STJ source generator support for record types Improving the analyzer to not flag a warning about init-only properties that are actually constructor parameters. In particular, record types with positional parameters desugar to classes with both a constructor and init-only properties (eg, to support "with" expressions). Since these properties are deserialized via the constructor and not the property setter, they support the fast path and round trip just fine, so the diagonstic analyzer should not raise the SYSLIB1037 warning. Issue 58770 * Improving STJ source generator support for record types Edit to fix missing semi colon in unit test's CreateCompiliation string Issue 58770 * Case insensitive matching of props with ctor params * Additional unit tests * Test for source gen positional records roundtrip Co-authored-by: NJoe Harjung <jharjung@integratedlabor.com>
-
- 19 4月, 2022 1 次提交
-
-
由 Eirik Tsarpalis 提交于
* Add JSON type hierarchies as a preview feature. * fix incorrect preview features configuration in ref project * Add check for conflicting custom type discriminator property names. * Add null checks & tests to public APIs * fix typo in constant name * fix file ordering * address feedback * Remove preview features annotation from new APIs
-
- 03 2月, 2022 1 次提交
-
-
由 Kloizdena 提交于
* Member resolving fix for derived attributes (#62937) * Added property with simple [Required] attribute
-
- 22 1月, 2022 1 次提交
-
-
由 Andy Gocke 提交于
This reverts commit 34794bc5.
-
- 19 1月, 2022 1 次提交
-
-
由 Krzysztof Wicher 提交于
* Enable System.Text.Json tests on netfx * use NETFRAMEWORK define * disable another two test cases after rebase * disable last test case which repros only on CI for me * add p2p only on netfx
-
- 11 12月, 2021 1 次提交
-
-
由 Eirik Tsarpalis 提交于
-
- 19 11月, 2021 1 次提交
-
-
由 Layomi Akinrinade 提交于
-
- 06 10月, 2021 1 次提交
-
-
由 Eirik Tsarpalis 提交于
-
- 01 10月, 2021 1 次提交
-
-
由 Eirik Tsarpalis 提交于
* Fix NRT warnings in source generated code * address feedback * address style
-
- 17 9月, 2021 1 次提交
-
-
由 Layomi Akinrinade 提交于
* Update source-gen APIs according to review * Rename fast-path func name and add src-gen/JsonNode interop support * Address review feedback * Disable src-gen tests in browser target OS
-
- 06 9月, 2021 1 次提交
-
-
由 Eirik Tsarpalis 提交于
-
- 04 9月, 2021 1 次提交
-
-
由 Steve Harter 提交于
-
- 03 9月, 2021 1 次提交
-
-
由 Eirik Tsarpalis 提交于
-
- 19 8月, 2021 1 次提交
-
-
由 Steve Harter 提交于
-
- 07 8月, 2021 1 次提交
-
-
由 Layomi Akinrinade 提交于
* Add JSON src-gen support for deserializing with parameterized ctors * Address API review and PR feedback * Fix issue with init-only properties * Make misc fixes for build
-
- 04 8月, 2021 1 次提交
-
-
由 Jasper 提交于
Fix #56792
-
- 15 7月, 2021 1 次提交
-
-
由 Steve Harter 提交于
-
- 09 7月, 2021 1 次提交
-
-
由 Steve Harter 提交于
-
- 27 5月, 2021 1 次提交
-
-
由 Layomi Akinrinade 提交于
* Add JSON source-gen mode that emits serialization logic * Fix System.Net.Http.Json test issues * Fix System.Text.Json test issues * Make check to determine if fast-path can be used more efficient * Address review feedback * Improve derived-JsonSerializerContext detection and support * Address review feedback; reenable tests, and simplify object metadata init * Fix formatting
-