csaf-sbom / kotlin-csaf

A Kotlin implementation of the CSAF standard.
Apache License 2.0
3 stars 0 forks source link

Use native `Double` instead of `BigDecimal` #68

Closed oxisto closed 1 month ago

oxisto commented 1 month ago

A JSON number is represented as an unquoted value and should perfectly fit a double according to the JSON spec. We can directly use Double instead of the Java BigInteger.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark: