{"action":"closed","issue":{"url":"https://api.github.com/repos/square/moshi/issues/94","labels_url":"https://api.github.com/repos/square/moshi/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/square/moshi/issues/94/comments","events_url":"https://api.github.com/repos/square/moshi/issues/94/events","html_url":"https://github.com/square/moshi/issues/94","id":109315757,"number":94,"title":"Exclude fields from serialization and deserialization","user":{"login":"edwardaa","id":8274162,"avatar_url":"https://avatars.githubusercontent.com/u/8274162?v=3","gravatar_id":"","url":"https://api.github.com/users/edwardaa","html_url":"https://github.com/edwardaa","followers_url":"https://api.github.com/users/edwardaa/followers","following_url":"https://api.github.com/users/edwardaa/following{/other_user}","gists_url":"https://api.github.com/users/edwardaa/gists{/gist_id}","starred_url":"https://api.github.com/users/edwardaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edwardaa/subscriptions","organizations_url":"https://api.github.com/users/edwardaa/orgs","repos_url":"https://api.github.com/users/edwardaa/repos","events_url":"https://api.github.com/users/edwardaa/events{/privacy}","received_events_url":"https://api.github.com/users/edwardaa/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-01T14:49:51Z","updated_at":"2015-10-01T14:51:17Z","closed_at":"2015-10-01T14:51:17Z","body":"To exclude a field from class serialization I create a [custom type adapter] (https://github.com/square/moshi#custom-type-adapters) to write all fields except it, but the class has many fields. \r\nIs there an easy way to achieve that?"}}