@@ -0,0 +1,1860 @@
+package com.alibaba.json.bvt.issue_1400;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport junit.framework.TestCase;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0Apublic class Issue1424 extends TestCase %7B%0A%0A    public static class IntegerVal %7B%0A        private int v;%0A%0A        public void setV(int v) %7B%0A            this.v = v;%0A        %7D%0A%0A        @Override%0A        public String toString() %7B%0A            return String.valueOf(v);%0A        %7D%0A    %7D%0A%0A    public static class FloatVal %7B%0A        private float v;%0A%0A        public void setV(float v) %7B%0A            this.v = v;%0A        %7D%0A%0A        @Override%0A        public String toString() %7B%0A            return String.valueOf(v);%0A        %7D%0A    %7D%0A%0A    public void test_for_issue_int() %7B%0A        Map%3CString, Long%3E intOverflowMap = new HashMap%3CString, Long%3E();%0A        long intOverflow = Integer.MAX_VALUE;%0A        intOverflowMap.put(%22v%22, intOverflow + 1);%0A        String sIntOverflow = JSON.toJSONString(intOverflowMap);%0A        System.out.println(%22prepare to parse overflow int val: %22 + sIntOverflow);%0A%0A%0A        try %7B%0A            JSON.parseObject(sIntOverflow, IntegerVal.class);%0A        %7D catch (Exception e) %7B%0A            System.out.println(%22We captured the Exception: %22 + e.getMessage());%0A        %7D%0A    %7D%0A%0A    public void test_for_issue_float() %7B%0A        Map%3CString, Double%3E floatOverflowMap = new HashMap%3CString, Double%3E();%0A        double floatOverflow = Float.MAX_VALUE;%0A        floatOverflowMap.put(%22v%22, floatOverflow + 1);%0A        String sFloatOverflow = JSON.toJSONString(floatOverflowMap);%0A%0A        System.out.println(sFloatOverflow);%0A        assertEquals(%22%7B%5C%22v%5C%22:3.4028234663852886E38%7D%22, sFloatOverflow);%0A        FloatVal floatVal = JSON.parseObject(sFloatOverflow, FloatVal.class);%0A        assertEquals(3.4028235E38F, floatVal.v);%0A%0A        assertEquals(floatVal.v, Float.parseFloat(%223.4028234663852886E38%22));%0A    %7D%0A%7D%0A

add testcase for issue #1424