{"action":"created","issue":{"url":"https://api.github.com/repos/johnsheehan/jwt/issues/13","labels_url":"https://api.github.com/repos/johnsheehan/jwt/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/johnsheehan/jwt/issues/13/comments","events_url":"https://api.github.com/repos/johnsheehan/jwt/issues/13/events","html_url":"https://github.com/johnsheehan/jwt/issues/13","id":59437976,"number":13,"title":"Decode throws if payload is IDictionary<string,obj>","user":{"login":"liammclennan","id":271514,"avatar_url":"https://avatars.githubusercontent.com/u/271514?v=3","gravatar_id":"","url":"https://api.github.com/users/liammclennan","html_url":"https://github.com/liammclennan","followers_url":"https://api.github.com/users/liammclennan/followers","following_url":"https://api.github.com/users/liammclennan/following{/other_user}","gists_url":"https://api.github.com/users/liammclennan/gists{/gist_id}","starred_url":"https://api.github.com/users/liammclennan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liammclennan/subscriptions","organizations_url":"https://api.github.com/users/liammclennan/orgs","repos_url":"https://api.github.com/users/liammclennan/repos","events_url":"https://api.github.com/users/liammclennan/events{/privacy}","received_events_url":"https://api.github.com/users/liammclennan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-02T04:39:16Z","updated_at":"2015-04-29T21:26:51Z","closed_at":null,"body":"It seems like it should be ok for the payload to be an `IDictionary` but it fails to Deserialize. My work-around for the time being is simply to load my IDictionary back into a Dictionary. \r\n\r\n    IDictionary<string,obj> payload = ...\r\n    JWT.JsonWebToken.Encode(new Dictionary<string,obj>(payload), ..."},"comment":{"url":"https://api.github.com/repos/johnsheehan/jwt/issues/comments/97591006","html_url":"https://github.com/johnsheehan/jwt/issues/13#issuecomment-97591006","issue_url":"https://api.github.com/repos/johnsheehan/jwt/issues/13","id":97591006,"user":{"login":"liammclennan","id":271514,"avatar_url":"https://avatars.githubusercontent.com/u/271514?v=3","gravatar_id":"","url":"https://api.github.com/users/liammclennan","html_url":"https://github.com/liammclennan","followers_url":"https://api.github.com/users/liammclennan/followers","following_url":"https://api.github.com/users/liammclennan/following{/other_user}","gists_url":"https://api.github.com/users/liammclennan/gists{/gist_id}","starred_url":"https://api.github.com/users/liammclennan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liammclennan/subscriptions","organizations_url":"https://api.github.com/users/liammclennan/orgs","repos_url":"https://api.github.com/users/liammclennan/repos","events_url":"https://api.github.com/users/liammclennan/events{/privacy}","received_events_url":"https://api.github.com/users/liammclennan/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T21:26:51Z","updated_at":"2015-04-29T21:26:51Z","body":"NuGet."}}