{"action":"created","issue":{"url":"https://api.github.com/repos/javaslang/javaslang-jackson/issues/54","repository_url":"https://api.github.com/repos/javaslang/javaslang-jackson","labels_url":"https://api.github.com/repos/javaslang/javaslang-jackson/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/javaslang/javaslang-jackson/issues/54/comments","events_url":"https://api.github.com/repos/javaslang/javaslang-jackson/issues/54/events","html_url":"https://github.com/javaslang/javaslang-jackson/issues/54","id":154622210,"number":54,"title":"Either serialization is not according to its semantic","user":{"login":"atrianac","id":4065427,"avatar_url":"https://avatars.githubusercontent.com/u/4065427?v=3","gravatar_id":"","url":"https://api.github.com/users/atrianac","html_url":"https://github.com/atrianac","followers_url":"https://api.github.com/users/atrianac/followers","following_url":"https://api.github.com/users/atrianac/following{/other_user}","gists_url":"https://api.github.com/users/atrianac/gists{/gist_id}","starred_url":"https://api.github.com/users/atrianac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atrianac/subscriptions","organizations_url":"https://api.github.com/users/atrianac/orgs","repos_url":"https://api.github.com/users/atrianac/repos","events_url":"https://api.github.com/users/atrianac/events{/privacy}","received_events_url":"https://api.github.com/users/atrianac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-13T02:39:32Z","updated_at":"2016-05-13T05:15:55Z","closed_at":null,"body":"I think the Either serialization is not according to its semantic. Either could be Left or Right (but not both), for example a field with value `Either.right(R right)` is serialize to `{\"either\":[null,R]}`, but it should be only  `{\"either\":R}`."},"comment":{"url":"https://api.github.com/repos/javaslang/javaslang-jackson/issues/comments/218953852","html_url":"https://github.com/javaslang/javaslang-jackson/issues/54#issuecomment-218953852","issue_url":"https://api.github.com/repos/javaslang/javaslang-jackson/issues/54","id":218953852,"user":{"login":"atrianac","id":4065427,"avatar_url":"https://avatars.githubusercontent.com/u/4065427?v=3","gravatar_id":"","url":"https://api.github.com/users/atrianac","html_url":"https://github.com/atrianac","followers_url":"https://api.github.com/users/atrianac/followers","following_url":"https://api.github.com/users/atrianac/following{/other_user}","gists_url":"https://api.github.com/users/atrianac/gists{/gist_id}","starred_url":"https://api.github.com/users/atrianac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atrianac/subscriptions","organizations_url":"https://api.github.com/users/atrianac/orgs","repos_url":"https://api.github.com/users/atrianac/repos","events_url":"https://api.github.com/users/atrianac/events{/privacy}","received_events_url":"https://api.github.com/users/atrianac/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T05:15:55Z","updated_at":"2016-05-13T05:15:55Z","body":"I think it should be always right. I know we can lost information here, but if you notice Either semantic always works with right value (isEmpty and getOption)"}}