@@ -0,0 +1,946 @@
+package com.alibaba.json.bvt.issue_1200;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.annotation.JSONField;%0Aimport junit.framework.TestCase;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0A/**%0A * Created by kimmking on 12/06/2017.%0A */%0Apublic class Issue1256 extends TestCase %7B%0A    public void test_for_issue() throws Exception %7B%0A%0A%0A        // params =%7B%22key_obj%22:%7B%22age%22:39,%22name%22:%22Mike%22%7D,%22key_string%22:%22Hello%22,%22key_random%22:-1193959466,%22key_int%22:10000%7D%0A%0A        A a = new A();%0A        a.name = %22Mike%22;%0A        a.age = 39;%0A%0A        Map%3CString,Object%3E map = new HashMap%3CString,Object%3E();%0A        map.put(%22key_obj%22,a);%0A        map.put(%22key_string%22,%22Hello%22);%0A        map.put(%22key_random%22,-1193959466L);%0A        map.put(%22key_int%22,10000);%0A%0A        String jsonString = JSON.toJSONString(map);%0A        assertTrue(jsonString.contains(%22Mike%22));%0A    %7D%0A%0A    public static class A %7B%0A        public String name;%0A        public int age;%0A    %7D%0A%7D%0A

add testcase for issue1256