{"action":"created","issue":{"url":"https://api.github.com/repos/google/google-api-java-client/issues/957","labels_url":"https://api.github.com/repos/google/google-api-java-client/issues/957/labels{/name}","comments_url":"https://api.github.com/repos/google/google-api-java-client/issues/957/comments","events_url":"https://api.github.com/repos/google/google-api-java-client/issues/957/events","html_url":"https://github.com/google/google-api-java-client/issues/957","id":99703313,"number":957,"title":"Parse collection interfaces as serializable collections on Android","user":{"login":"crizzis","id":3028491,"avatar_url":"https://avatars.githubusercontent.com/u/3028491?v=3","gravatar_id":"","url":"https://api.github.com/users/crizzis","html_url":"https://github.com/crizzis","followers_url":"https://api.github.com/users/crizzis/followers","following_url":"https://api.github.com/users/crizzis/following{/other_user}","gists_url":"https://api.github.com/users/crizzis/gists{/gist_id}","starred_url":"https://api.github.com/users/crizzis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crizzis/subscriptions","organizations_url":"https://api.github.com/users/crizzis/orgs","repos_url":"https://api.github.com/users/crizzis/repos","events_url":"https://api.github.com/users/crizzis/events{/privacy}","received_events_url":"https://api.github.com/users/crizzis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-07T18:29:56Z","updated_at":"2015-08-07T18:34:18Z","closed_at":null,"body":"By default, AndroidJsonParser parses fields of collection interfaces as non-serializable classes (e.g. com.google.api.client.util.ArrayMap for java.util.Map). Since standard java collections are by large serializable, it would be convenient to ensure serializability of the parsed object graph (it is not unreasonable to assume developers would take serializability of collections for granted). \r\n\r\nThis is especially painful on Android if one wants to use objects from a parsed HttpResponse as activity extras/fragment params. \r\n\r\n(BTW I am currently using CustomizeJsonParser to work around this issue. However, it seems cumbersome for such a common use case)"},"comment":{"url":"https://api.github.com/repos/google/google-api-java-client/issues/comments/128790454","html_url":"https://github.com/google/google-api-java-client/issues/957#issuecomment-128790454","issue_url":"https://api.github.com/repos/google/google-api-java-client/issues/957","id":128790454,"user":{"login":"ejona86","id":2811396,"avatar_url":"https://avatars.githubusercontent.com/u/2811396?v=3","gravatar_id":"","url":"https://api.github.com/users/ejona86","html_url":"https://github.com/ejona86","followers_url":"https://api.github.com/users/ejona86/followers","following_url":"https://api.github.com/users/ejona86/following{/other_user}","gists_url":"https://api.github.com/users/ejona86/gists{/gist_id}","starred_url":"https://api.github.com/users/ejona86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejona86/subscriptions","organizations_url":"https://api.github.com/users/ejona86/orgs","repos_url":"https://api.github.com/users/ejona86/repos","events_url":"https://api.github.com/users/ejona86/events{/privacy}","received_events_url":"https://api.github.com/users/ejona86/received_events","type":"User","site_admin":false},"created_at":"2015-08-07T18:34:18Z","updated_at":"2015-08-07T18:34:18Z","body":"I guess this is really a feature request to add serialization support to ArrayMap and similar. Would that work for you?"}}