@@ -0,0 +1,1411 @@
+package com.fasterxml.jackson.failing;%0A%0Aimport java.math.BigDecimal;%0Aimport java.util.*;%0A%0Aimport com.fasterxml.jackson.annotation.JsonFormat;%0Aimport com.fasterxml.jackson.databind.*;%0A%0Apublic class BigDecimalAsString2519Test extends BaseMapTest%0A%7B%0A    static class Bean2519Typed %7B%0A        public List%3CBigDecimal%3E values = new ArrayList%3C%3E();%0A    %7D%0A%0A    static class Bean2519Untyped %7B%0A        public Collection%3CBigDecimal%3E values = new HashSet%3C%3E();%0A    %7D%0A%0A    public void testBigDecimalAsString2519Typed() throws Exception%0A    %7B%0A        Bean2519Typed foo = new Bean2519Typed();%0A        foo.values.add(new BigDecimal(%222.34%22));%0A        final ObjectMapper mapper = new ObjectMapper();%0A        mapper.configOverride(BigDecimal.class)%0A            .setFormat(JsonFormat.Value.forShape(JsonFormat.Shape.STRING));%0A        String json = mapper.writeValueAsString(foo);%0A        assertEquals(aposToQuotes(%22%7B'values':%5B'2.34'%5D%7D%22), json);%0A    %7D%0A%0A    public void testBigDecimalAsString2519Untyped() throws Exception%0A    %7B%0A        Bean2519Untyped foo = new Bean2519Untyped();%0A        foo.values.add(new BigDecimal(%222.34%22));%0A        final ObjectMapper mapper = new ObjectMapper();%0A        mapper.configOverride(BigDecimal.class)%0A            .setFormat(JsonFormat.Value.forShape(JsonFormat.Shape.STRING));%0A        String json = mapper.writeValueAsString(foo);%0A        assertEquals(aposToQuotes(%22%7B'values':%5B'2.34'%5D%7D%22), json);%0A    %7D%0A%7D%0A

Add a failing test for #2519