jsonb-api
jsonb-api copied to clipboard
fixes: #360 challenge for NumberFormatCustomizationTest
A @JsonbNumberFormat(value = "###,###.##") without any specified locale results in a JSON serialisation which is depending on the Locale of the box you run the TCK on. This is not reproducible.
There are 2 ways to define the Locale:
- with the JsonbNumberFormat#locale attribute
- with JsonbConfig#withLocale
This test at least pins down the Locale to guarantee reproducible builds.
@jakartaee/ee4j-jsonb-committers Kindly asking for review of this bug fix.