{"action":"created","issue":{"url":"https://api.github.com/repos/cloudtools/troposphere/issues/425","repository_url":"https://api.github.com/repos/cloudtools/troposphere","labels_url":"https://api.github.com/repos/cloudtools/troposphere/issues/425/labels{/name}","comments_url":"https://api.github.com/repos/cloudtools/troposphere/issues/425/comments","events_url":"https://api.github.com/repos/cloudtools/troposphere/issues/425/events","html_url":"https://github.com/cloudtools/troposphere/issues/425","id":140029652,"number":425,"title":"It would be great if I could access the diff without having to loads the json string","user":{"login":"wt","id":416255,"avatar_url":"https://avatars.githubusercontent.com/u/416255?v=3","gravatar_id":"","url":"https://api.github.com/users/wt","html_url":"https://github.com/wt","followers_url":"https://api.github.com/users/wt/followers","following_url":"https://api.github.com/users/wt/following{/other_user}","gists_url":"https://api.github.com/users/wt/gists{/gist_id}","starred_url":"https://api.github.com/users/wt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wt/subscriptions","organizations_url":"https://api.github.com/users/wt/orgs","repos_url":"https://api.github.com/users/wt/repos","events_url":"https://api.github.com/users/wt/events{/privacy}","received_events_url":"https://api.github.com/users/wt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-10T22:38:13Z","updated_at":"2016-03-11T01:05:55Z","closed_at":null,"body":"I would like to be able to get the dict that is built up in the following function before it is serialized into json:\r\nhttps://github.com/cloudtools/troposphere/blob/47cc47ae9f8fc9e933eb1d52df04efc0dc6d2c9b/troposphere/__init__.py#L451\r\n\r\nAs it stands, I just use json.loads on the to_json produced string to get the dict I am after."},"comment":{"url":"https://api.github.com/repos/cloudtools/troposphere/issues/comments/195124225","html_url":"https://github.com/cloudtools/troposphere/issues/425#issuecomment-195124225","issue_url":"https://api.github.com/repos/cloudtools/troposphere/issues/425","id":195124225,"user":{"login":"markpeek","id":638982,"avatar_url":"https://avatars.githubusercontent.com/u/638982?v=3","gravatar_id":"","url":"https://api.github.com/users/markpeek","html_url":"https://github.com/markpeek","followers_url":"https://api.github.com/users/markpeek/followers","following_url":"https://api.github.com/users/markpeek/following{/other_user}","gists_url":"https://api.github.com/users/markpeek/gists{/gist_id}","starred_url":"https://api.github.com/users/markpeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markpeek/subscriptions","organizations_url":"https://api.github.com/users/markpeek/orgs","repos_url":"https://api.github.com/users/markpeek/repos","events_url":"https://api.github.com/users/markpeek/events{/privacy}","received_events_url":"https://api.github.com/users/markpeek/received_events","type":"User","site_admin":false},"created_at":"2016-03-11T01:05:55Z","updated_at":"2016-03-11T01:05:55Z","body":"You could traverse the Template object but there are transforms that occur within the json pipeline plus I can't guarantee backwards compatibility as an interface. Probably best if we eventually added a helper function that just returns the json.loads() that you're doing."}}