@@ -0,0 +1,698 @@
+package com.alibaba.json.bvt.issue_3300;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.JSONObject;%0Aimport junit.framework.TestCase;%0A%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0A/**%0A * @Author %EF%BC%9ANanqi%0A * @Date %EF%BC%9ACreated in 22:29 2020/7/15%0A */%0Apublic class Issue3347 extends TestCase %7B%0A    public void test_for_issue() throws Exception %7B%0A        Map%3CInteger, String%3E map = new HashMap%3CInteger, String%3E();%0A        map.put(1, %22hello%22);%0A        String mapJSONString = JSON.toJSONString(map);%0A        Map mapValues = JSONObject.parseObject(mapJSONString, Map.class);%0A        Object mapKey = mapValues.keySet().iterator().next();%0A        assertTrue(mapKey instanceof Integer);%0A    %7D%0A%7D%0A

add testcast, #3347