package com.alibaba.json.bvt.issue_2000;

import com.alibaba.fastjson.JSON;
import junit.framework.TestCase;

public class Issue2086 extends TestCase {
    public void test_for_issue() throws Exception {
        JSON.parseObject("{\"id\":123}", Model.class);
    }

    public static class Model {
        public void set() {

        }
    }
}

@@ -252,16 +252,56 @@
 class);%0A
+        JSON.toJSONString(new Model());%0A
     %7D%0A%0A 

add testcase