{"action":"created","issue":{"url":"https://api.github.com/repos/scalapenos/stamina/issues/50","repository_url":"https://api.github.com/repos/scalapenos/stamina","labels_url":"https://api.github.com/repos/scalapenos/stamina/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/scalapenos/stamina/issues/50/comments","events_url":"https://api.github.com/repos/scalapenos/stamina/issues/50/events","html_url":"https://github.com/scalapenos/stamina/issues/50","id":174604435,"number":50,"title":"Different JSON serialization library","user":{"login":"krivachy","id":5367669,"avatar_url":"https://avatars.githubusercontent.com/u/5367669?v=3","gravatar_id":"","url":"https://api.github.com/users/krivachy","html_url":"https://github.com/krivachy","followers_url":"https://api.github.com/users/krivachy/followers","following_url":"https://api.github.com/users/krivachy/following{/other_user}","gists_url":"https://api.github.com/users/krivachy/gists{/gist_id}","starred_url":"https://api.github.com/users/krivachy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krivachy/subscriptions","organizations_url":"https://api.github.com/users/krivachy/orgs","repos_url":"https://api.github.com/users/krivachy/repos","events_url":"https://api.github.com/users/krivachy/events{/privacy}","received_events_url":"https://api.github.com/users/krivachy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-01T19:22:11Z","updated_at":"2016-09-02T07:55:00Z","closed_at":null,"body":"I would be interested in using circe for JSON serialization instead of spray-json.\r\nWhat would it take to make it pluggable? I can maybe help contribute."},"comment":{"url":"https://api.github.com/repos/scalapenos/stamina/issues/comments/244308138","html_url":"https://github.com/scalapenos/stamina/issues/50#issuecomment-244308138","issue_url":"https://api.github.com/repos/scalapenos/stamina/issues/50","id":244308138,"user":{"login":"agemooij","id":46568,"avatar_url":"https://avatars.githubusercontent.com/u/46568?v=3","gravatar_id":"","url":"https://api.github.com/users/agemooij","html_url":"https://github.com/agemooij","followers_url":"https://api.github.com/users/agemooij/followers","following_url":"https://api.github.com/users/agemooij/following{/other_user}","gists_url":"https://api.github.com/users/agemooij/gists{/gist_id}","starred_url":"https://api.github.com/users/agemooij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agemooij/subscriptions","organizations_url":"https://api.github.com/users/agemooij/orgs","repos_url":"https://api.github.com/users/agemooij/repos","events_url":"https://api.github.com/users/agemooij/events{/privacy}","received_events_url":"https://api.github.com/users/agemooij/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T07:55:00Z","updated_at":"2016-09-02T07:55:00Z","body":"Interesting idea. The current spray-json implementation depends on two core pieces: \r\n\r\n1. the json parser and AST\r\n2. some form of json AST lenses to perform AST transformations **before** deserialization happens\r\n\r\nAny combination of these two things that share an AST can be used to implement a Stamina implementation.\r\n\r\nI  haven't looked all that deeply into Circe yet but their main README says that there is no lenses implementation included. From what I can quicly scan the Monocle approach would require you to have case classes for your older model versions and that's exactly wat Stamina was created to prevent.\r\n\r\nBut if you find the right combination of tools, I'd love to hear about it and see whether we can create a more pluggable Stamina JSON implementation."}}
{"actor":{"display_login":"agemooij"}}