Skip to content

Conversation

@andreas-hilti
Copy link
Contributor

Closes: CycloneDX/cyclonedx-cli#409

This was missed in #366. ShouldSerialize only applies to the xml serialization, but not for json serialization using System.Text.Json.Serialization (in contrast to for instance Newtonsoft Json serialization).

@andreas-hilti andreas-hilti requested a review from a team as a code owner September 26, 2025 19:43
@andreas-hilti
Copy link
Contributor Author

An alternative would be to change Method to ScoreMethod?, but the current version doesn't change the interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Merge produces incorrect ratings.method Null values

1 participant