{"action":"created","issue":{"url":"https://api.github.com/repos/arrow-kt/arrow/issues/1192","repository_url":"https://api.github.com/repos/arrow-kt/arrow","labels_url":"https://api.github.com/repos/arrow-kt/arrow/issues/1192/labels{/name}","comments_url":"https://api.github.com/repos/arrow-kt/arrow/issues/1192/comments","events_url":"https://api.github.com/repos/arrow-kt/arrow/issues/1192/events","html_url":"https://github.com/arrow-kt/arrow/issues/1192","id":390017713,"node_id":"MDU6SXNzdWUzOTAwMTc3MTM=","number":1192,"title":"Arrow currently has no Jackson support module","user":{"login":"androidfred","id":870822,"node_id":"MDQ6VXNlcjg3MDgyMg==","avatar_url":"https://avatars2.githubusercontent.com/u/870822?v=4","gravatar_id":"","url":"https://api.github.com/users/androidfred","html_url":"https://github.com/androidfred","followers_url":"https://api.github.com/users/androidfred/followers","following_url":"https://api.github.com/users/androidfred/following{/other_user}","gists_url":"https://api.github.com/users/androidfred/gists{/gist_id}","starred_url":"https://api.github.com/users/androidfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/androidfred/subscriptions","organizations_url":"https://api.github.com/users/androidfred/orgs","repos_url":"https://api.github.com/users/androidfred/repos","events_url":"https://api.github.com/users/androidfred/events{/privacy}","received_events_url":"https://api.github.com/users/androidfred/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-12T00:48:13Z","updated_at":"2018-12-12T03:20:38Z","closed_at":null,"author_association":"NONE","body":"STEPS TO REPRODUCE\r\nCreate a Jersey resource with an endpoint with params wrapped in a datatype, eg\r\n\r\n```kotlin\r\n    @GET\r\n    @Path(\"/search/user\")\r\n    @Timed\r\n    @ResponseMetered\r\n    fun searchUsername(\r\n            @QueryParam(\"firstName\") firstName: String,\r\n            @QueryParam(\"lastName\") lastName: Option<String>)\r\n            : Response {\r\n        //...\r\n    }\r\n```\r\n\r\nEXPECTED RESULT\r\ncurl url/search/user?firstName=Foo&lastName=Bar results in an Option containing Bar\r\ncurl url/search/user?firstName=Foo results in an Option that is empty\r\n\r\nACTUAL RESULT\r\nRunTimeException because there is no equivalent to com.fasterxml.jackson.datatype.jdk8.OptionalDeserializer.java for Arrow's Option\r\n\r\nMISC\r\nAs this is a Jersey/Jackson specific thing, it's NOT a core Arrow feature request per se, but given the popularity of Jackson for JSON serialization and deserialization, it's a pretty important nice to have that could go into a dedicated Jackson support module."},"comment":{"url":"https://api.github.com/repos/arrow-kt/arrow/issues/comments/446447647","html_url":"https://github.com/arrow-kt/arrow/issues/1192#issuecomment-446447647","issue_url":"https://api.github.com/repos/arrow-kt/arrow/issues/1192","id":446447647,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjQ0NzY0Nw==","user":{"login":"androidfred","id":870822,"node_id":"MDQ6VXNlcjg3MDgyMg==","avatar_url":"https://avatars2.githubusercontent.com/u/870822?v=4","gravatar_id":"","url":"https://api.github.com/users/androidfred","html_url":"https://github.com/androidfred","followers_url":"https://api.github.com/users/androidfred/followers","following_url":"https://api.github.com/users/androidfred/following{/other_user}","gists_url":"https://api.github.com/users/androidfred/gists{/gist_id}","starred_url":"https://api.github.com/users/androidfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/androidfred/subscriptions","organizations_url":"https://api.github.com/users/androidfred/orgs","repos_url":"https://api.github.com/users/androidfred/repos","events_url":"https://api.github.com/users/androidfred/events{/privacy}","received_events_url":"https://api.github.com/users/androidfred/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T03:20:38Z","updated_at":"2018-12-12T03:20:38Z","author_association":"NONE","body":"@pakoito @raulraja Thanks for the quick replies!\r\n\r\nUnderstood, I will see if I can't get some time to dig into the guts of Jackson and see what I can come up with. The parsers themselves shouldn't be that much work, it's more the wiring up of everything in a way that makes it work out of the box that would take some time."}}
{"actor":{"display_login":"androidfred"}}