{"action":"opened","issue":{"url":"https://api.github.com/repos/KarelCemus/play-json/issues/5","labels_url":"https://api.github.com/repos/KarelCemus/play-json/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/KarelCemus/play-json/issues/5/comments","events_url":"https://api.github.com/repos/KarelCemus/play-json/issues/5/events","html_url":"https://github.com/KarelCemus/play-json/issues/5","id":121353021,"number":5,"title":"Cache materializers","user":{"login":"KarelCemus","id":1996368,"avatar_url":"https://avatars.githubusercontent.com/u/1996368?v=3","gravatar_id":"","url":"https://api.github.com/users/KarelCemus","html_url":"https://github.com/KarelCemus","followers_url":"https://api.github.com/users/KarelCemus/followers","following_url":"https://api.github.com/users/KarelCemus/following{/other_user}","gists_url":"https://api.github.com/users/KarelCemus/gists{/gist_id}","starred_url":"https://api.github.com/users/KarelCemus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KarelCemus/subscriptions","organizations_url":"https://api.github.com/users/KarelCemus/orgs","repos_url":"https://api.github.com/users/KarelCemus/repos","events_url":"https://api.github.com/users/KarelCemus/events{/privacy}","received_events_url":"https://api.github.com/users/KarelCemus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-09T22:16:00Z","updated_at":"2015-12-09T22:16:00Z","closed_at":null,"body":"Materializers are generated always when needed. First, that causes code explosion, second, there might be an issue when there is a recursive type.\r\n\r\nThe intention behind this issue for each class implementing a `Protocol` generate an instance of `Writes` and `Reads` and store it within the `ContextualJson` instance. Then it could be reused wherever it is required."}}