{"action":"created","issue":{"url":"https://api.github.com/repos/cb372/scalacache/issues/86","repository_url":"https://api.github.com/repos/cb372/scalacache","labels_url":"https://api.github.com/repos/cb372/scalacache/issues/86/labels{/name}","comments_url":"https://api.github.com/repos/cb372/scalacache/issues/86/comments","events_url":"https://api.github.com/repos/cb372/scalacache/issues/86/events","html_url":"https://github.com/cb372/scalacache/pull/86","id":142135129,"number":86,"title":"Refs #35: Custom generic serialisation via type class","user":{"login":"lloydmeta","id":914805,"avatar_url":"https://avatars.githubusercontent.com/u/914805?v=3","gravatar_id":"","url":"https://api.github.com/users/lloydmeta","html_url":"https://github.com/lloydmeta","followers_url":"https://api.github.com/users/lloydmeta/followers","following_url":"https://api.github.com/users/lloydmeta/following{/other_user}","gists_url":"https://api.github.com/users/lloydmeta/gists{/gist_id}","starred_url":"https://api.github.com/users/lloydmeta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lloydmeta/subscriptions","organizations_url":"https://api.github.com/users/lloydmeta/orgs","repos_url":"https://api.github.com/users/lloydmeta/repos","events_url":"https://api.github.com/users/lloydmeta/events{/privacy}","received_events_url":"https://api.github.com/users/lloydmeta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-20T06:56:54Z","updated_at":"2016-04-02T15:30:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cb372/scalacache/pulls/86","html_url":"https://github.com/cb372/scalacache/pull/86","diff_url":"https://github.com/cb372/scalacache/pull/86.diff","patch_url":"https://github.com/cb372/scalacache/pull/86.patch"},"body":"Just a prototype of [what I mentioned on the issue](https://github.com/cb372/scalacache/issues/35#issuecomment-198845958), to serve as a point of discussion and garner feedback.\r\n\r\nGoals:\r\n- Provides sensible serialisation for primitive types out of the box\r\n- If desired, users can import from an object housing a Java-serialising object serialiser\r\n- If end users have their own object-to-MsgPack/JSON/whatever codecs, they just need to provide a suitable auto converter to our `Codec` (conversely, this project can have projects that provide bindings for commonly used formats)\r\n\r\nChanges:\r\n- Add Codec typeclass to allow adhoc customisation of serialisation/deserialisation\r\n- Add some default Codecs for standard primitives w/ tests\r\n- Add a Java-basd object serialiser w/ test\r\n- Modify various existing methods, macros, and tests to make this work\r\n\r\nMisc:\r\n- Bump PGP plugin version"},"comment":{"url":"https://api.github.com/repos/cb372/scalacache/issues/comments/204737761","html_url":"https://github.com/cb372/scalacache/pull/86#issuecomment-204737761","issue_url":"https://api.github.com/repos/cb372/scalacache/issues/86","id":204737761,"user":{"login":"lloydmeta","id":914805,"avatar_url":"https://avatars.githubusercontent.com/u/914805?v=3","gravatar_id":"","url":"https://api.github.com/users/lloydmeta","html_url":"https://github.com/lloydmeta","followers_url":"https://api.github.com/users/lloydmeta/followers","following_url":"https://api.github.com/users/lloydmeta/following{/other_user}","gists_url":"https://api.github.com/users/lloydmeta/gists{/gist_id}","starred_url":"https://api.github.com/users/lloydmeta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lloydmeta/subscriptions","organizations_url":"https://api.github.com/users/lloydmeta/orgs","repos_url":"https://api.github.com/users/lloydmeta/repos","events_url":"https://api.github.com/users/lloydmeta/events{/privacy}","received_events_url":"https://api.github.com/users/lloydmeta/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T15:30:58Z","updated_at":"2016-04-02T15:30:58Z","body":"> Import tax\r\n\r\nOk got it. I think your reasoning is sound. Done."}}