{"action":"created","issue":{"url":"https://api.github.com/repos/square/moshi/issues/106","repository_url":"https://api.github.com/repos/square/moshi","labels_url":"https://api.github.com/repos/square/moshi/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/square/moshi/issues/106/comments","events_url":"https://api.github.com/repos/square/moshi/issues/106/events","html_url":"https://github.com/square/moshi/issues/106","id":114105625,"number":106,"title":"Serialize Map in Kotlin","user":{"login":"mboudraa","id":1434359,"avatar_url":"https://avatars.githubusercontent.com/u/1434359?v=3","gravatar_id":"","url":"https://api.github.com/users/mboudraa","html_url":"https://github.com/mboudraa","followers_url":"https://api.github.com/users/mboudraa/followers","following_url":"https://api.github.com/users/mboudraa/following{/other_user}","gists_url":"https://api.github.com/users/mboudraa/gists{/gist_id}","starred_url":"https://api.github.com/users/mboudraa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mboudraa/subscriptions","organizations_url":"https://api.github.com/users/mboudraa/orgs","repos_url":"https://api.github.com/users/mboudraa/repos","events_url":"https://api.github.com/users/mboudraa/events{/privacy}","received_events_url":"https://api.github.com/users/mboudraa/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/square/moshi/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-10-29T17:39:56Z","updated_at":"2016-04-30T03:44:20Z","closed_at":"2016-04-30T03:44:20Z","body":"When you try to serialize `Map<String,String>`, Kotlin actually generates wildcards, i.e. `? extends String`.  This seems to confuse Moshi\r\nMoshi tries to generate an adapter for `? extends String` which is the type of the Map's values but doesn't check the default adapters.\r\nThanks to @cypressious for his remarks"},"comment":{"url":"https://api.github.com/repos/square/moshi/issues/comments/215931084","html_url":"https://github.com/square/moshi/issues/106#issuecomment-215931084","issue_url":"https://api.github.com/repos/square/moshi/issues/106","id":215931084,"user":{"login":"JakeWharton","id":66577,"avatar_url":"https://avatars.githubusercontent.com/u/66577?v=3","gravatar_id":"","url":"https://api.github.com/users/JakeWharton","html_url":"https://github.com/JakeWharton","followers_url":"https://api.github.com/users/JakeWharton/followers","following_url":"https://api.github.com/users/JakeWharton/following{/other_user}","gists_url":"https://api.github.com/users/JakeWharton/gists{/gist_id}","starred_url":"https://api.github.com/users/JakeWharton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JakeWharton/subscriptions","organizations_url":"https://api.github.com/users/JakeWharton/orgs","repos_url":"https://api.github.com/users/JakeWharton/repos","events_url":"https://api.github.com/users/JakeWharton/events{/privacy}","received_events_url":"https://api.github.com/users/JakeWharton/received_events","type":"User","site_admin":false},"created_at":"2016-04-30T03:44:20Z","updated_at":"2016-04-30T03:44:20Z","body":"This works in Kotlin 1.0 or newer"}}