{"action":"created","issue":{"url":"https://api.github.com/repos/julman99/gson-fire/issues/20","labels_url":"https://api.github.com/repos/julman99/gson-fire/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/julman99/gson-fire/issues/20/comments","events_url":"https://api.github.com/repos/julman99/gson-fire/issues/20/events","html_url":"https://github.com/julman99/gson-fire/issues/20","id":109621841,"number":20,"title":"Type Selector question","user":{"login":"iwarapter","id":3195424,"avatar_url":"https://avatars.githubusercontent.com/u/3195424?v=3","gravatar_id":"","url":"https://api.github.com/users/iwarapter","html_url":"https://github.com/iwarapter","followers_url":"https://api.github.com/users/iwarapter/followers","following_url":"https://api.github.com/users/iwarapter/following{/other_user}","gists_url":"https://api.github.com/users/iwarapter/gists{/gist_id}","starred_url":"https://api.github.com/users/iwarapter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwarapter/subscriptions","organizations_url":"https://api.github.com/users/iwarapter/orgs","repos_url":"https://api.github.com/users/iwarapter/repos","events_url":"https://api.github.com/users/iwarapter/events{/privacy}","received_events_url":"https://api.github.com/users/iwarapter/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-03T12:57:21Z","updated_at":"2015-10-07T21:15:35Z","closed_at":null,"body":"I have a large hierarchy of classes with a common base, but i don't appear to be able to use my common base, i'd need to specify each object that is extended. Is this correct?\r\n\r\ne.g. say i have:\r\nClass Base\r\nA extends Base\r\nB extends A\r\nC extends B\r\n(etc)\r\n\r\nCan i not create a type selector from the base class for the extended model\r\n```java\r\n.registerTypeSelector(Base.class, new TypeSelector<Base>() {\r\n      @Override\r\n      public Class<? extends Base> getClassForElement(JsonElement readElement) {\r\n      ...\r\n```"},"comment":{"url":"https://api.github.com/repos/julman99/gson-fire/issues/comments/146331569","html_url":"https://github.com/julman99/gson-fire/issues/20#issuecomment-146331569","issue_url":"https://api.github.com/repos/julman99/gson-fire/issues/20","id":146331569,"user":{"login":"iwarapter","id":3195424,"avatar_url":"https://avatars.githubusercontent.com/u/3195424?v=3","gravatar_id":"","url":"https://api.github.com/users/iwarapter","html_url":"https://github.com/iwarapter","followers_url":"https://api.github.com/users/iwarapter/followers","following_url":"https://api.github.com/users/iwarapter/following{/other_user}","gists_url":"https://api.github.com/users/iwarapter/gists{/gist_id}","starred_url":"https://api.github.com/users/iwarapter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iwarapter/subscriptions","organizations_url":"https://api.github.com/users/iwarapter/orgs","repos_url":"https://api.github.com/users/iwarapter/repos","events_url":"https://api.github.com/users/iwarapter/events{/privacy}","received_events_url":"https://api.github.com/users/iwarapter/received_events","type":"User","site_admin":false},"created_at":"2015-10-07T21:15:34Z","updated_at":"2015-10-07T21:15:34Z","body":"Any ideas for this?"}}