@@ -0,0 +1,1227 @@
+package com.alibaba.json.bvt.issue_1400;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.annotation.JSONField;%0Aimport junit.framework.TestCase;%0A%0Apublic class Issue1487 extends TestCase %7B%0A    public void test_for_issue() throws Exception %7B%0A        Model model = new Model();%0A        model._id = 1001L;%0A        model.id = 1002L;%0A%0A        String json = JSON.toJSONString(model);%0A        assertEquals(%22%7B%5C%22_id%5C%22:1001,%5C%22id%5C%22:1002%7D%22, json);%0A        Model model1 = JSON.parseObject(json, Model.class);%0A        assertEquals(json, JSON.toJSONString(model1));%0A    %7D%0A%0A    public static class Model %7B%0A        private Long _id;%0A        private Long id;%0A%0A        @JSONField(name = %22_id%22)%0A        public long get_id() %7B%0A            if (null != _id) %7B%0A                return _id.longValue();%0A            %7D else %7B%0A                return 0L;%0A            %7D%0A        %7D%0A%0A        @JSONField(name = %22_id%22)%0A        public void set_id(Long _id) %7B%0A            this._id = _id;%0A        %7D%0A%0A        public long getId() %7B%0A            if (null != id) %7B%0A                return id.longValue();%0A            %7D else %7B%0A                return 0L;%0A            %7D%0A        %7D%0A%0A        public void setId(Long id) %7B%0A            this.id = id;%0A        %7D%0A    %7D%0A%7D%0A

add testcase for issue #1487