{"action":"opened","issue":{"url":"https://api.github.com/repos/square/moshi/issues/618","repository_url":"https://api.github.com/repos/square/moshi","labels_url":"https://api.github.com/repos/square/moshi/issues/618/labels{/name}","comments_url":"https://api.github.com/repos/square/moshi/issues/618/comments","events_url":"https://api.github.com/repos/square/moshi/issues/618/events","html_url":"https://github.com/square/moshi/issues/618","id":349510507,"node_id":"MDU6SXNzdWUzNDk1MTA1MDc=","number":618,"title":"Serialized Pair","user":{"login":"RuslanTroshkov","id":5736874,"node_id":"MDQ6VXNlcjU3MzY4NzQ=","avatar_url":"https://avatars1.githubusercontent.com/u/5736874?v=4","gravatar_id":"","url":"https://api.github.com/users/RuslanTroshkov","html_url":"https://github.com/RuslanTroshkov","followers_url":"https://api.github.com/users/RuslanTroshkov/followers","following_url":"https://api.github.com/users/RuslanTroshkov/following{/other_user}","gists_url":"https://api.github.com/users/RuslanTroshkov/gists{/gist_id}","starred_url":"https://api.github.com/users/RuslanTroshkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RuslanTroshkov/subscriptions","organizations_url":"https://api.github.com/users/RuslanTroshkov/orgs","repos_url":"https://api.github.com/users/RuslanTroshkov/repos","events_url":"https://api.github.com/users/RuslanTroshkov/events{/privacy}","received_events_url":"https://api.github.com/users/RuslanTroshkov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-10T13:13:18Z","updated_at":"2018-08-10T13:13:18Z","closed_at":null,"author_association":"NONE","body":"val type = Types.newParameterizedType(Pair::class.java, Any::class.java, Integer::class.java)\r\nval moshi = Moshi.Builder()\r\n//.add(KotlinJsonAdapterFactory())\r\n.build()\r\nval jsonAdapter = moshi.adapter<Pair<Any, Long>>(type)\r\n\r\nI get an exception :\r\njava.lang.IllegalArgumentException: Platform kotlin.Pair<java.lang.Object, java.lang.Integer> (with no annotations) requires explicit JsonAdapter to be registered\r\n\r\nWhat am I doing wrong?"}}
{"actor":{"display_login":"RuslanTroshkov"}}