@@ -0,0 +1,600 @@
+package com.alibaba.json.bvt.bug;%0A%0Aimport com.alibaba.fastjson.JSON;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class Bug_for_DiffType extends TestCase %7B%0A    public void test_for_diff_type() throws Exception %7B%0A        Model model = new Model();%0A        model.setValue(1001);%0A        %0A        JSON.toJSONString(model);%0A    %7D%0A    %0A    public static class Model %7B%0A        public String value;%0A        %0A        public long getValue() %7B%0A            return Long.parseLong(value);%0A        %7D%0A        %0A        public void setValue(long value) %7B%0A            this.value = Long.toString(value);%0A        %7D%0A    %7D%0A%7D%0A

add testcase