@@ -0,0 +1,1243 @@
+package com.alibaba.json.bvt.issue_3400;%0A%0Aimport com.alibaba.fastjson.JSON;%0Aimport com.alibaba.fastjson.annotation.JSONCreator;%0Aimport com.alibaba.fastjson.annotation.JSONType;%0Aimport com.alibaba.fastjson.serializer.SerializeConfig;%0Aimport junit.framework.TestCase;%0Aimport org.springframework.core.io.FileSystemResource;%0A%0Aimport java.util.HashMap;%0A%0Apublic class Issue3436 extends TestCase %7B%0A    public void test_for_issue() throws Exception %7B%0A        JSON.addMixInAnnotations(FileSystemResource.class, FileSystemResourceMixedIn.class);%0A%0A        FileSystemResource fileSystemResource = new FileSystemResource(%22E:%5C%5Cmy-code%5C%5Ctest%5C%5Ctest-fastjson.txt%22);%0A%0A        String json = JSON.toJSONString(fileSystemResource);%0A        assertEquals(%22%7B%5C%22path%5C%22:%5C%22E:/my-code/test/test-fastjson.txt%5C%22%7D%22, json);%0A%0A        FileSystemResource fsr1 = JSON.parseObject(json, FileSystemResource.class);%0A        assertEquals(fileSystemResource.getPath(), fsr1.getPath());%0A        System.out.println(%22file size after Serialize%EF%BC%9A%22 + fileSystemResource.getFile().length());%0A    %7D%0A%0A    @JSONType(asm = false, includes = %22path%22)%0A    public static class FileSystemResourceMixedIn %7B%0A        @JSONCreator%0A        public FileSystemResourceMixedIn(String path) %7B%0A%0A        %7D%0A    %7D%0A%7D%0A

add testcase for #3436