{"action":"opened","issue":{"url":"https://api.github.com/repos/robshakir/pyangbind/issues/35","repository_url":"https://api.github.com/repos/robshakir/pyangbind","labels_url":"https://api.github.com/repos/robshakir/pyangbind/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/robshakir/pyangbind/issues/35/comments","events_url":"https://api.github.com/repos/robshakir/pyangbind/issues/35/events","html_url":"https://github.com/robshakir/pyangbind/issues/35","id":134451307,"number":35,"title":"pybindJSONDecoder, diving deeper into the hierachy","user":{"login":"mpainenz","id":16472288,"avatar_url":"https://avatars.githubusercontent.com/u/16472288?v=3","gravatar_id":"","url":"https://api.github.com/users/mpainenz","html_url":"https://github.com/mpainenz","followers_url":"https://api.github.com/users/mpainenz/followers","following_url":"https://api.github.com/users/mpainenz/following{/other_user}","gists_url":"https://api.github.com/users/mpainenz/gists{/gist_id}","starred_url":"https://api.github.com/users/mpainenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpainenz/subscriptions","organizations_url":"https://api.github.com/users/mpainenz/orgs","repos_url":"https://api.github.com/users/mpainenz/repos","events_url":"https://api.github.com/users/mpainenz/events{/privacy}","received_events_url":"https://api.github.com/users/mpainenz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-18T01:13:16Z","updated_at":"2016-02-18T01:13:16Z","closed_at":null,"body":"Hi Rob,\r\n\r\nI have a special use case, whereby the REST/JSON API I'm using sends Yang objects in parts.\r\n\r\nSo each REST call retrieves a single YANG container. When a child container is needed, a new rest call is made. This is done recursively in my case to populate a local set of class bindings.\r\n\r\nMy trouble is, that the JSON Decoder doesn't seem to like it when a container of type YANGBassClass is passed to it, instead of a PybindBase class.\r\n\r\nIs there a way that the decoder could accept both types?\r\n"}}