jsonb-api icon indicating copy to clipboard operation
jsonb-api copied to clipboard

fixes: #360 challenge for NumberFormatCustomizationTest

Open struberg opened this issue 1 year ago • 1 comments

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.

struberg avatar Oct 20 '24 12:10 struberg

@jakartaee/ee4j-jsonb-committers Kindly asking for review of this bug fix.

mkarg avatar Dec 23 '24 12:12 mkarg