Skip to content

Core: refactor the factory methods for JsonObject #195

Core: refactor the factory methods for JsonObject

Core: refactor the factory methods for JsonObject #195

Triggered via push February 10, 2024 14:05
Status Success
Total duration 1m 23s
Artifacts 1

dotnetcore.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

21 warnings
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-dotnet@v3, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
build: Doxense.Core/Converters/TypeConverters.cs#L569
Converting null literal or possible null value to non-nullable type.
build: Doxense.Core/Converters/TypeConverters.cs#L569
Converting null literal or possible null value to non-nullable type.
build: Doxense.Core/Converters/TypeConverters.cs#L569
Possible null reference return.
build: Doxense.Core/Serialization/JSON/CrystalJsonVisitor.cs#L917
Converting null literal or possible null value to non-nullable type.
build: Doxense.Core/Serialization/JSON/CrystalJsonVisitor.cs#L917
Unboxing a possibly null value.
build: Doxense.Core/Serialization/JSON/CrystalJsonVisitor.cs#L918
Converting null literal or possible null value to non-nullable type.
build: Doxense.Core/Serialization/JSON/CrystalJsonVisitor.cs#L918
Unboxing a possibly null value.
build: Doxense.Core/Serialization/JSON/CrystalJsonVisitor.cs#L919
Converting null literal or possible null value to non-nullable type.
build: Doxense.Core/Serialization/JSON/CrystalJsonVisitor.cs#L919
Unboxing a possibly null value.
build: Doxense.Core/Serialization/JSON/CrystalJsonVisitor.cs#L920
Converting null literal or possible null value to non-nullable type.
build: Doxense.Core/Converters/TypeConverters.cs#L569
Converting null literal or possible null value to non-nullable type.
build: Doxense.Core/Converters/TypeConverters.cs#L569
Converting null literal or possible null value to non-nullable type.
build: Doxense.Core/Converters/TypeConverters.cs#L569
Possible null reference return.
build: Doxense.Core/Serialization/JSON/ObjectModel/JsonObject.cs#L1413
Argument of type 'IEnumerable<KeyValuePair<string, JsonValue?>>' cannot be used for parameter 'collection' of type 'IEnumerable<KeyValuePair<string, JsonValue>>' in 'Dictionary<string, JsonValue>.Dictionary(IEnumerable<KeyValuePair<string, JsonValue>> collection, IEqualityComparer<string>? comparer)' due to differences in the nullability of reference types.
build: Doxense.Core/Serialization/JSON/ObjectModel/JsonArray.cs#L314
Argument of type 'Span<JsonValue?>' cannot be used for parameter 'array' of type 'ReadOnlySpan<JsonValue>' in 'JsonArray JsonArray.AddRange(ReadOnlySpan<JsonValue> array)' due to differences in the nullability of reference types.
build: Doxense.Core/Serialization/JSON/ObjectModel/ImmutableJsonObject.cs#L44
'JsonObject.Copy(IEnumerable<KeyValuePair<string, JsonValue?>>, bool, bool)' is obsolete: 'Use JsonObject.Create(...) or JsonObject.CreateImmutable(...) instead.'
build: Doxense.Core/Serialization/JSON/ObjectModel/ImmutableJsonObject.cs#L46
'JsonObject.Copy(IEnumerable<KeyValuePair<string, JsonValue?>>, bool, bool)' is obsolete: 'Use JsonObject.Create(...) or JsonObject.CreateImmutable(...) instead.'
build: Doxense.Core/Serialization/JSON/ObjectModel/ImmutableJsonObject.cs#L142
'JsonObject.Copy(IEnumerable<KeyValuePair<string, JsonValue?>>, bool, bool)' is obsolete: 'Use JsonObject.Create(...) or JsonObject.CreateImmutable(...) instead.'
build: Doxense.Core/Serialization/JSON/ObjectModel/JsonObject.cs#L1883
'JsonValue.IsArray' is obsolete: 'Either check that the Type property is JsonType.Array, or cast to JsonArray'
build: Doxense.Core/Serialization/JSON/JsonPath/JPathParser.cs#L516
Unreachable code detected

Artifacts

Produced during runtime
Name Size
NuGet Packages Expired
2.21 MB