{"action":"created","issue":{"url":"https://api.github.com/repos/alibaba/fastjson/issues/1807","repository_url":"https://api.github.com/repos/alibaba/fastjson","labels_url":"https://api.github.com/repos/alibaba/fastjson/issues/1807/labels{/name}","comments_url":"https://api.github.com/repos/alibaba/fastjson/issues/1807/comments","events_url":"https://api.github.com/repos/alibaba/fastjson/issues/1807/events","html_url":"https://github.com/alibaba/fastjson/issues/1807","id":314917170,"node_id":"MDU6SXNzdWUzMTQ5MTcxNzA=","number":1807,"title":"toJavaList/toJavaObject时注解@JSONField(deserializeUsing = XXX)不起作用","user":{"login":"iiRGB","id":24506591,"node_id":"MDQ6VXNlcjI0NTA2NTkx","avatar_url":"https://avatars1.githubusercontent.com/u/24506591?v=4","gravatar_id":"","url":"https://api.github.com/users/iiRGB","html_url":"https://github.com/iiRGB","followers_url":"https://api.github.com/users/iiRGB/followers","following_url":"https://api.github.com/users/iiRGB/following{/other_user}","gists_url":"https://api.github.com/users/iiRGB/gists{/gist_id}","starred_url":"https://api.github.com/users/iiRGB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iiRGB/subscriptions","organizations_url":"https://api.github.com/users/iiRGB/orgs","repos_url":"https://api.github.com/users/iiRGB/repos","events_url":"https://api.github.com/users/iiRGB/events{/privacy}","received_events_url":"https://api.github.com/users/iiRGB/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-17T06:04:27Z","updated_at":"2018-12-27T01:57:39Z","closed_at":null,"author_association":"NONE","body":"如果类A上的属性使用了注解`@JSONField(deserializeUsing = XXX)`，使用`JSON.parseObject(json, A.class)`可以通过自定义反序列化正常工作，使用`jsonObject.toJavaObject(A.class)`不起作用。`toJavaList`方法也是如此。\r\n\r\n请问如何做到两个方法得到的结果一致。\r\n``` java\r\nJSONObject jsonObject = JSON.parseObject(json);\r\n A a = JSON.parseObject(json, A.class); // 正常\r\n A a2 = jsonObject.toJavaObject(A.class); // 无效\r\n```"},"comment":{"url":"https://api.github.com/repos/alibaba/fastjson/issues/comments/450054533","html_url":"https://github.com/alibaba/fastjson/issues/1807#issuecomment-450054533","issue_url":"https://api.github.com/repos/alibaba/fastjson/issues/1807","id":450054533,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDA1NDUzMw==","user":{"login":"stashslash","id":45448340,"node_id":"MDQ6VXNlcjQ1NDQ4MzQw","avatar_url":"https://avatars1.githubusercontent.com/u/45448340?v=4","gravatar_id":"","url":"https://api.github.com/users/stashslash","html_url":"https://github.com/stashslash","followers_url":"https://api.github.com/users/stashslash/followers","following_url":"https://api.github.com/users/stashslash/following{/other_user}","gists_url":"https://api.github.com/users/stashslash/gists{/gist_id}","starred_url":"https://api.github.com/users/stashslash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stashslash/subscriptions","organizations_url":"https://api.github.com/users/stashslash/orgs","repos_url":"https://api.github.com/users/stashslash/repos","events_url":"https://api.github.com/users/stashslash/events{/privacy}","received_events_url":"https://api.github.com/users/stashslash/received_events","type":"User","site_admin":false},"created_at":"2018-12-27T01:57:39Z","updated_at":"2018-12-27T01:57:39Z","author_association":"NONE","body":"相同的问题"}}
{"actor":{"display_login":"stashslash"}}