Fix JsonValueConverter to handle array and object values in Dictionary<string, JsonValue> #115829
+84
−0
Azure Pipelines / runtime (Build browser-wasm linux Debug AllSubsets_CoreCLR)
failed
May 21, 2025 in 33m 15s
Build browser-wasm linux Debug AllSubsets_CoreCLR failed
Annotations
azure-pipelines / runtime (Build browser-wasm linux Debug AllSubsets_CoreCLR)
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Node/JsonValueConverter.cs#L34
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Node/JsonValueConverter.cs(34,24): error CS0030: (NETCORE_ENGINEERING_TELEMETRY=Build) Cannot convert type 'System.Text.Json.Nodes.JsonObject' to 'System.Text.Json.Nodes.JsonValue'
azure-pipelines / runtime (Build browser-wasm linux Debug AllSubsets_CoreCLR)
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Node/JsonValueConverter.cs#L39
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Node/JsonValueConverter.cs(39,24): error CS0030: (NETCORE_ENGINEERING_TELEMETRY=Build) Cannot convert type 'System.Text.Json.Nodes.JsonArray' to 'System.Text.Json.Nodes.JsonValue'
azure-pipelines / runtime (Build browser-wasm linux Debug AllSubsets_CoreCLR)
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Node/JsonValueConverter.cs#L36
src/libraries/System.Text.Json/src/System/Text/Json/Serialization/Converters/Node/JsonValueConverter.cs(36,1): error SA1028: (NETCORE_ENGINEERING_TELEMETRY=Build) Code should not contain trailing whitespace (https://github.com/DotNetAnalyzers/StyleCopAnalyzers/blob/master/documentation/SA1028.md)
Loading