@@ -0,0 +1,2465 @@
+package rapture.common;%0A%0Aimport java.math.BigDecimal;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Aimport com.fasterxml.jackson.annotation.JsonProperty;%0Aimport com.fasterxml.jackson.databind.annotation.JsonSerialize;%0A%0Aimport rapture.common.impl.jackson.JacksonUtil;%0A%0Apublic class RaptureJsonSerializerTest %7B%0A%0A    class Bar %7B%0A        @JsonProperty%0A        @JsonSerialize(using = RaptureJsonSerializer.class)%0A        BigDecimal bdval = new BigDecimal(%220.00000001%22);%0A%0A        @JsonSerialize(using = RaptureJsonSerializer.class)%0A        @JsonProperty%0A        Double Dval = 0.00000001;%0A%0A        @JsonProperty%0A        @JsonSerialize(using = RaptureJsonSerializer.class)%0A        Float Fval = 0.00000001f;%0A%0A        @JsonSerialize(using = RaptureJsonSerializer.class)%0A        @JsonProperty%0A        Double Dlval = 1000000000D;%0A%0A        @JsonProperty%0A        @JsonSerialize(using = RaptureJsonSerializer.class)%0A        Float Flval = 1000000000f;%0A%0A        @JsonProperty%0A        @JsonSerialize(using = RaptureJsonSerializer.class)%0A        int ilval = 1000000000;%0A%0A        @JsonProperty%0A        @JsonSerialize(using = RaptureJsonSerializer.class)%0A        Integer Iilval = 1000000000;%0A%0A        @JsonSerialize(using = RaptureJsonSerializer.class)%0A        @JsonProperty%0A        long lilval = 1000000000l;%0A%0A        @JsonSerialize(using = RaptureJsonSerializer.class)%0A        @JsonProperty%0A        Long Llval = 1000000000l;%0A%0A        public Bar() %7B%0A            super();%0A        %7D%0A%0A        @Override%0A        public String toString() %7B%0A            return %22Bar %5Bbdval=%22 + bdval + %22, Dval=%22 + Dval + %22, Fval=%22 + Fval + %22, Dlval=%22 + Dlval + %22, Flval=%22 + Flval + %22, ilval=%22 + ilval + %22, Iilval=%22%0A                    + Iilval + %22, lilval=%22 + lilval + %22, Llval=%22 + Llval + %22%5D%22;%0A        %7D%0A%0A    %7D%0A%0A    class Foo %7B%0A        @JsonProperty%0A        Bar bar;%0A%0A        public Foo() %7B%0A            super();%0A            bar = new Bar();%0A        %7D%0A%0A        @Override%0A        public String toString() %7B%0A            return %22Foo %5Bbar=%22 + bar + %22%5D%22;%0A        %7D%0A%0A    %7D%0A%0A    @Test%0A    public void test() %7B%0A        Foo foo = new Foo();%0A        System.out.println(foo.toString());%0A        String s = JacksonUtil.jsonFromObject(foo);%0A        Assert.assertEquals(%0A                %22%7B%5C%22bar%5C%22:%7B%5C%22bdval%5C%22:0.00000001,%5C%22Dval%5C%22:0.00000001,%5C%22Fval%5C%22:0.00000001,%5C%22Dlval%5C%22:1000000000,%5C%22Flval%5C%22:1000000000,%5C%22ilval%5C%22:1000000000,%5C%22Iilval%5C%22:1000000000,%5C%22lilval%5C%22:1000000000,%5C%22Llval%5C%22:1000000000%7D%7D%22,%0A                s);%0A    %7D%0A%7D%0A

Add unit test