{"action":"created","issue":{"url":"https://api.github.com/repos/jsonpickle/jsonpickle/issues/100","repository_url":"https://api.github.com/repos/jsonpickle/jsonpickle","labels_url":"https://api.github.com/repos/jsonpickle/jsonpickle/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/jsonpickle/jsonpickle/issues/100/comments","events_url":"https://api.github.com/repos/jsonpickle/jsonpickle/issues/100/events","html_url":"https://github.com/jsonpickle/jsonpickle/pull/100","id":51863032,"number":100,"title":"I ran into some problems which I detailed in issue #99","user":{"login":"lkrubner","id":1045195,"avatar_url":"https://avatars.githubusercontent.com/u/1045195?v=3","gravatar_id":"","url":"https://api.github.com/users/lkrubner","html_url":"https://github.com/lkrubner","followers_url":"https://api.github.com/users/lkrubner/followers","following_url":"https://api.github.com/users/lkrubner/following{/other_user}","gists_url":"https://api.github.com/users/lkrubner/gists{/gist_id}","starred_url":"https://api.github.com/users/lkrubner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lkrubner/subscriptions","organizations_url":"https://api.github.com/users/lkrubner/orgs","repos_url":"https://api.github.com/users/lkrubner/repos","events_url":"https://api.github.com/users/lkrubner/events{/privacy}","received_events_url":"https://api.github.com/users/lkrubner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-12T22:58:37Z","updated_at":"2016-04-08T18:14:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/jsonpickle/jsonpickle/pulls/100","html_url":"https://github.com/jsonpickle/jsonpickle/pull/100","diff_url":"https://github.com/jsonpickle/jsonpickle/pull/100.diff","patch_url":"https://github.com/jsonpickle/jsonpickle/pull/100.patch"},"body":"I ran into some problems which I detailed in issue 99, https://github.com/jsonpickle/jsonpickle/issues/99. I was pulling models out of SqlAlchemy and some of the sub-classes were not iterable, so I went through and added if/else blocks where I was facing problems. This now works for me, without any obvious errors."},"comment":{"url":"https://api.github.com/repos/jsonpickle/jsonpickle/issues/comments/207542865","html_url":"https://github.com/jsonpickle/jsonpickle/pull/100#issuecomment-207542865","issue_url":"https://api.github.com/repos/jsonpickle/jsonpickle/issues/100","id":207542865,"user":{"login":"lkrubner","id":1045195,"avatar_url":"https://avatars.githubusercontent.com/u/1045195?v=3","gravatar_id":"","url":"https://api.github.com/users/lkrubner","html_url":"https://github.com/lkrubner","followers_url":"https://api.github.com/users/lkrubner/followers","following_url":"https://api.github.com/users/lkrubner/following{/other_user}","gists_url":"https://api.github.com/users/lkrubner/gists{/gist_id}","starred_url":"https://api.github.com/users/lkrubner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lkrubner/subscriptions","organizations_url":"https://api.github.com/users/lkrubner/orgs","repos_url":"https://api.github.com/users/lkrubner/repos","events_url":"https://api.github.com/users/lkrubner/events{/privacy}","received_events_url":"https://api.github.com/users/lkrubner/received_events","type":"User","site_admin":false},"created_at":"2016-04-08T18:14:13Z","updated_at":"2016-04-08T18:14:13Z","body":"I am sorry I only noticed your comments now. I don't often work with Python, so I only catch up on Python projects maybe once a year. I am sorry to say I no longer have the original problem in front of me. But I recall this line gave me several errors: \r\n\r\n       if rv_as_list[0].__name__ == '__newobj__':\r\n\r\nAnd so the only way I could get this to work was wrapping it with: \r\n\r\n      if hasattr(rv_as_list[0], __name__): "}}