@@ -0,0 +1,807 @@
+package com.alibaba.json.bvt.bug;%0A%0Aimport org.junit.Assert;%0A%0Aimport com.alibaba.fastjson.JSON;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class Bug_for_issue_278 extends TestCase %7B%0A%0A    public void test_for_issue() throws Exception %7B%0A        VO vo = new VO();%0A        vo.setTest(true);%0A        %0A        String text = JSON.toJSONString(vo);%0A        Assert.assertEquals(%22%7B%5C%22test%5C%22:true%7D%22, text);%0A    %7D%0A    %0A    public void test_for_issue_decode() throws Exception %7B%0A        VO vo = JSON.parseObject(%22%7B%5C%22isTest%5C%22:true%7D%22, VO.class);%0A        Assert.assertTrue(vo.isTest);%0A    %7D%0A%0A    public static class VO %7B%0A%0A        private boolean isTest;%0A%0A        public boolean isTest() %7B%0A            return isTest;%0A        %7D%0A%0A        public void setTest(boolean isTest) %7B%0A            this.isTest = isTest;%0A        %7D%0A%0A    %7D%0A%7D%0A

add testcase for issue 278. https://github.com/alibaba/fastjson/issues/278