@@ -0,0 +1,977 @@
+package com.alibaba.json.bvt;%0A%0Aimport java.lang.reflect.Type;%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0Aimport org.junit.Assert;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.parser.deserializer.ExtraProcessor;%0A%0Aimport junit.framework.TestCase;%0A%0Apublic class JSONTest3 extends TestCase %7B%0A    public void test_json() throws Exception %7B%0A        ExtraProcessor extraProcessor = new ExtraProcessor() %7B%0A%0A            public void processExtra(Object object, String key, Object value) %7B%0A                Model model = (Model) object;%0A                model.attributes.put(key, value);%0A            %7D%0A        %7D;%0A        %0A        Model model = JSON.parseObject(%22%7B%5C%22id%5C%22:1001%7D%22, (Type) Model.class, extraProcessor);%0A        Assert.assertEquals(1, model.attributes.size());%0A        Assert.assertEquals(1001, model.attributes.get(%22id%22));%0A    %7D%0A    %0A    public static class Model %7B%0A        private Map%3CString, Object%3E attributes = new HashMap%3CString, Object%3E();%0A    %7D%0A%7D%0A

add testcase