@@ -0,0 +1,1504 @@
+package com.alibaba.json.bvt.issue_1500;%0A%0Aimport clojure.lang.Obj;%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.JSONObject;%0Aimport com.alibaba.fastjson.parser.DefaultJSONParser;%0Aimport com.alibaba.fastjson.parser.ParserConfig;%0Aimport com.alibaba.fastjson.parser.deserializer.ObjectDeserializer;%0Aimport junit.framework.TestCase;%0A%0Aimport java.lang.reflect.Type;%0Aimport java.util.Collections;%0Aimport java.util.Map;%0A%0Apublic class Issue1584 extends TestCase %7B%0A    public void test_for_issue() throws Exception %7B%0A        ParserConfig config = new ParserConfig();%0A%0A        String json = %22%7B%5C%22k%5C%22:1,%5C%22v%5C%22:%5C%22A%5C%22%7D%22;%0A%0A        %7B%0A            Map.Entry entry = JSON.parseObject(json, Map.Entry.class, config);%0A            assertEquals(%22v%22, entry.getKey());%0A            assertEquals(%22A%22, entry.getValue());%0A        %7D%0A%0A        config.putDeserializer(Map.Entry.class, new ObjectDeserializer() %7B%0A            public %3CT%3E T deserialze(DefaultJSONParser parser, Type type, Object fieldName) %7B%0A                JSONObject object = parser.parseObject();%0A                Object k = object.get(%22k%22);%0A                Object v = object.get(%22v%22);%0A%0A                return (T) Collections.singletonMap(k, v).entrySet().iterator().next();%0A            %7D%0A%0A            public int getFastMatchToken() %7B%0A                return 0;%0A            %7D%0A        %7D);%0A%0A        Map.Entry entry = JSON.parseObject(json, Map.Entry.class, config);%0A        assertEquals(1, entry.getKey());%0A        assertEquals(%22A%22, entry.getValue());%0A    %7D%0A%7D%0A

add testcase for issue #1584